Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> dbms_sql - Cretate table problem
There is problem.
I am trying to execute stored procedure ( created without problem).
I am triying to copy table from one scheme to another...
DBMS_SQL.PARSE(cid,strToDrop ,0); DBMS_SQL.PARSE(cid,strToCreate , 0); DBMS_SQL.CLOSE_CURSOR(cid);
But I am getting this result ...
ORA-00942: table or view does not exist ORA-06512: at "SYS.DBMS_SYS_SQL", line 491 ORA-06512: at "SYS.DBMS_SQL", line 32 ORA-06512: at "FRONTOFFICE.REFILLTABLE", line 16 ORA-00942: table or view does not exist ORA-06512: at line 2
****************************************************************************
*************************
From other hand, I can execute this code from Oracle Froms without any problem.
00009 DBMS_SQL.PARSE(cid,strToDrop ,0); 00010 DBMS_SQL.PARSE(cid,'COMMIT',0); 00011 DBMS_SQL.PARSE(cid,strToCreate , 0); 00012 DBMS_SQL.CLOSE_CURSOR(cid);
00016 DBMS_SQL.PARSE(cid,strToCreate , 0); 00017 DBMS_SQL.CLOSE_CURSOR(cid); 00018 commit;
I am use connection parameters the same in both cases.
What can be wrong ?!!!
Evgeny. Received on Mon Dec 25 2000 - 03:38:29 CST