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!

Ascending , Descending keywords in Index creation

Y.RamletJul 30 2013 — edited Aug 1 2013

version:11.2.0.3/RHEL 5.8

I have come across an INDEX creation DDLwhich has the keywords DESC, ASCĀ  for indexed columns as shown below in red ?

What do DESC, ASC do in this Index?

CREATE INDEX PKT_MASTER_TGT_SENT_RD_IDX ON PKT_MASTER (TARGET_ID DESC,SENT_DATE DESC, READ ASC) ;

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 29 2013
Added on Jul 30 2013
5 comments
1,216 views