canton07
Nov 27, 2008, 02:15 PM
My oracle version is 10.2.0.3.0.
In Toad I have no problem
1) to create table trg_farinvc as select
2) select * from all_objects where object_name like 'TRG_FARINVC%'
3) drop table TRG_FARINVC PURGE
3) create table trg_farinvc as select --> create table again no problem.
4) drop table TRG_FARINVC PURGE --> everything is good so far.
My script run via sqlplus:
Declare
...
Begin
Execute immediate 'CREATE TABLE trg_farinvc as select... ';
End;
.
/
Run
PROBLEM:
ORA-00955: name is already used by an existing object
BUT THE TABLE was already purged in TOAD prior running this script.
Thanks,
Trang
In Toad I have no problem
1) to create table trg_farinvc as select
2) select * from all_objects where object_name like 'TRG_FARINVC%'
3) drop table TRG_FARINVC PURGE
3) create table trg_farinvc as select --> create table again no problem.
4) drop table TRG_FARINVC PURGE --> everything is good so far.
My script run via sqlplus:
Declare
...
Begin
Execute immediate 'CREATE TABLE trg_farinvc as select... ';
End;
.
/
Run
PROBLEM:
ORA-00955: name is already used by an existing object
BUT THE TABLE was already purged in TOAD prior running this script.
Thanks,
Trang