oracle怎样删除索引
2022-01-21 15:56:18
在oracle中,可以利用“drop index”语句删除索引,该语句的作用就是删除指定的索引,语法为“drop index 索引名;”。
本教程操作环境:Windows10系统、Oracle 11g版、Dell G3电脑。
oracle怎样删除索引
drop index index_name;
1、创建索引
create index 索引名 on 表名(列名);
2、删除索引
drop index 索引名;
3、创建组合索引
create index 索引名 on 表名(列名1,,列名2);
4、查询索引
--根据索引名,查询表索引字段 select * from user_ind_columns where index_name='索引名'; --根据表名,查询一张表的索引 select * from user_indexes where table_name='表名';
推荐教程:《Oracle教程》
以上就是oracle怎样删除索引的详细内容,更多请关注dnjidi.com其它相关文章!
相关阅读
- postgresql的now()与Oracle的sysdate区别说明
- Oracle中Spool命令的使用方法实例
- oracle in长度限制的两个快速解决方法
- Oracle 批处理自动备份bat脚本语句的步骤详解
- inner join和left join之间的区别详解
- mysql、oracle默认事务隔离级别的说明
- oracle 存储过程返回 结果集 table形式的案例
- MySQL版oracle下scott用户建表语句实例
- oracle日期分组查询的完整实例
- Oracle使用like查询时对下划线的处理方法
- Oracle 轻量级实时监控工具 oratop详解
- 详解Oracle 中实现数据透视表的几种方法
- ORACLE数据库对long类型字段进行模糊匹配的解决思路
- Oracle 数据仓库ETL技术之多表插入语句的示例详解
- zabbix agent2 监控oracle数据库的方法
- 详解Mysql和Oracle之间的误区
- oracle是什么公司
- oracle数据库免费吗