Select columns of table index

前端 未结 3 1219
清酒与你
清酒与你 2021-01-28 12:05

Oracle has a query that selects the existing indexes of a table. For example:

SELECT * FROM user_indexes WHERE table_name = \'CM_WCEL\';

But

3条回答
  •  醉梦人生
    2021-01-28 12:25

    this should provide needed information:

     select index_name, column_name
     from user_ind_columns
     where table_name = 'CM_WCEL';
    

提交回复
热议问题