我正在运行存储过程:
CREATE OR REPLACE MYSP (runDate Date)
BEGIN
EXECUTE IMMEDIATE 'CREATE TABLE MYTABLE AS (SELECT * FROM DATATABLE WHERE DATADATE = :1' USING runDate);
END MYSP;
我得到错误 -
ORA-01027: bind variables not allowed for data definitions operations
ORA-06512: "Database.MYSP", line 4
有人可以帮助我哪里出错了。