Rename table [message #229549] |
Mon, 09 April 2007 02:09 |
gkrishn
Messages: 506 Registered: December 2005 Location: Putty a dark screen
|
Senior Member |
|
|
Hi i renamed my table.now how to drop my index ?its giving erorr
ORA-02429: cannot drop index used for enforcement of unique/primary key
|
|
|
|
|
|
Re: Rename table [message #229563 is a reply to message #229549] |
Mon, 09 April 2007 02:30 |
gkrishn
Messages: 506 Registered: December 2005 Location: Putty a dark screen
|
Senior Member |
|
|
following are more details.
select index_name,table_name from dba_indexes where index_name='mytable_PK1';
INDEX_NAME TABLE_NAME
------------------------------ ------------------------------
mytable_PK1 mytable
select CONSTRAINT_NAME,CONSTRAINT_TYPE from dba_constraints
2 where TABLE_NAME='mytable';
CONSTRAINT_NAME C
------------------------------ -
SYS_C00264328 C
SYS_C00264329 C
SYS_C00264330 C
SYS_C00264335 C
SYS_C00264336 P
|
|
|
|
|