12.创建索引
create index 索引名称 on 表名 (字段名称);
13.删除索引
drop index 索引名; 
14.创建组合索引
create index 索引名 on 表名(列名1,,列名2);
15.在数据库中查找表名
select * from user_tables where  table_name like 'tablename%';
16.查看该表的所有索引
select * from all_indexes where table_name = 'tablename';
17.查看该表的所有索引列
select* from all_ind_columns where table_name = 'tablename';
 
Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐