Oracle 查看索引语句
Oracle 查看索引语句
1. 查询一张表里面索引
select * from user_indexes where table_name=upper('bills');
2. 查询被索引字段
select * from user_ind_columns where index_name=('in_bills');
3. 给某一字段创建索引
create index in_bills on bills(account_id);
更多Oracle相关信息见Oracle 专题页面 http://www.bkjia.com/topicnews.aspx?tid=12
评论暂时关闭