Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

if I drop table, am I also dropping the index that belong to that table?

Erhan_torontoJul 24 2013 — edited Jul 25 2013

for example:

create table TBL_A (       FIELD_A1 number not null,

FIELD_A2 varchar2(50),

FIELD_A3 date,

FIELD_A4 number(5,2) default 0,

FIELD_A5 varchar2(10) not null

                                );

                                create unique index XPKTBL_A on TBL_A (FIELD_A1);



drop table TBL_A;


What is the syntax to drop index in oracle?


drop index XPKTBL_A  --- is this correct?



This post has been answered by Paul M. on Jul 24 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 22 2013
Added on Jul 24 2013
8 comments
5,128 views