The code
SELECT some_identifier_id INTO a_someid_id FROM "SOME_IDENTIFIER" SOME_IDT
INNER JOIN "CASE" cse ON cse.customer_id = '1001'
INNER JOIN "MEASURE" m ON m.case_id = cse.case_id
WHERE SOME_IDT.some_identifier_type_code = '430101';
Gives out an “missing keyword” error. Where the problem lies?
You can use
INTOonly when you execute the query in a PL/SQL program block (either anonymous, trigger, stored proc…).An SQL query cannot contain an
INTOclause, and it will give you this error.