网站首页 > 数据库 / 正文
1、创建单一索引
create index 索引名称 on 表名(列名);
2、创建复合索引
create index 索引名称 on 表名(列名1,列名2);
3、删除索引
drop index 索引名称;
4、查询表的索引
select * from all_indexes where table_name = '表名称';
5、查询表的索引列
select* from all_ind_columns where table_name = '表名称';
Tags:oracle 删除 表
- 上一篇:Oracle数据库的卸载
- 下一篇:Oracle的卸载
猜你喜欢
- 2024-11-26 Oracle常用语句
- 2024-11-26 误删除MySQL数据库表的ibd文件怎么办
- 2024-11-26 查询所有用户的表,ORACLE下有三个视图
- 2024-11-26 MySQL删除重复行
- 2024-11-26 Oracle语法-如何建立服务器监听及数据导入导出
- 2024-11-26 oracle数据库知识点汇总(上)
- 2024-11-26 「数据库数据恢复」Oracle数据库如何恢复truncate表的数据
- 2024-11-26 oracle表空间数据文件迁移
- 2024-11-26 oracle删错数据了,要跑路吗,等一下,先抢救一下
- 2024-11-26 超详细的四类数据库去重实现方案汇总,值得收藏