I want to create temporary table in stored procedure and access it in the same but I got error that ORA-00942:Table or view does not exists. Following is the pr
ORA-00942:Table or view does not exists.
CREATE OR REPLACE PROCEDURE myproc IS BEGIN CREATE GLOBAL TEMPORARY TABLE temp (id NUMBER(10)) ON COMMIT DELETE ROWS AS SELECT 10 FROM dual; END; /