The following lines contain the word 'select', 'insert', 'update' or 'delete':
SELECT application_id INTO l_application_id
FROM fnd_application WHERE application_short_name='INV';
SELECT organization_code INTO text_value
FROM mtl_parameters
WHERE to_char(organization_id) = SUBSTR(context, 1, (INSTR(context, '+-?*', 1, 1)-1)) ;
SELECT concatenated_segments INTO text_value
FROM mtl_system_items_kfv
WHERE to_char(organization_id) = SUBSTR(context, 1, (INSTR(context, '+-?*', 1, 1)-1))
AND to_char(inventory_item_id) = SUBSTR(context, (INSTR(context, '+-?*', 1, 1)+4), INSTR(context, '+-?*', 1, 2) - (INSTR(context, '+-?*', 1, 1)+4));
SELECT category_concat_segs INTO text_value
FROM mtl_categories_v
WHERE to_char(category_id) = SUBSTR(context, (INSTR(context, '+-?*', 1, 2)+4), INSTR(context, '+-?*', 1, 3) - (INSTR(context, '+-?*', 1, 2)+4));