I'm new to the use of temporary tables. I'm trying to create a temporary table using the following procedure:
create or replace procedure P_X1
execute immediate "CREATE GLOBAL TEMPORARY TABLE X_TABLE (
x_year NUMBER(4),
x_MONTH VARCHAR2(9))
ON COMMIT PERSERVE ROWS";
END P_X1;
I'm receiving errors on the execute immediate...when that's removed on the create statement. The removal of the quotes does not change the error.
Thank you.
create or replace procedure P_X1
execute immediate "CREATE GLOBAL TEMPORARY TABLE X_TABLE (
x_year NUMBER(4),
x_MONTH VARCHAR2(9))
ON COMMIT PERSERVE ROWS";
END P_X1;
I'm receiving errors on the execute immediate...when that's removed on the create statement. The removal of the quotes does not change the error.
Thank you.