create or replace procedure sp_test
As
begin
execute immediate 'CREATE GLOBAL TEMPORARY TABLE TEST(aaa VARCHAR2(10)) ON COMMIT DELETE ROWS';
   dbms_output.put_line('hello');
end;编译通过,可总是提示
ORA-01031:权限不足