About the intention and backtracking of the Oracle descending index
Source: Internet
Author: User
oracle| Index
The descending index is essentially the FBI, and its specific definition can be queried by user_ind_expressions or dba_ind_expressions.
Similarly, a descending index can be used only under the CBO.
Connected to oracle9i Enterprise Edition release 9.2.0.4.0
Connected as Eygle
Sql> CREATE TABLE T as select * from Dba_users;
Table created
Sql> CREATE index Idx_username_desc on T (username desc);
Index created
Sql> Select Index_name,table_name,index_type from user_indexes where table_name= ' T ';
INDEX_NAME table_name Index_type
------------------------------ ------------------------------ ---------------------------
Idx_username_desc T function-based NORMAL
Sql> Select Column_name,column_position,descend from User_ind_columns
2 where table_name= ' T ';
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service