首页 > 其他 > 详细

日常问题

时间:2021-04-27 14:35:25      阅读:16      评论:0      收藏:0      [点我收藏+]

---1.查询索引属于哪个表

select * from user_indexes where index_name =‘索引名称‘

 

---2.查询系统中所有的索引

select * from user_objects where object_type=‘INDEX‘

 

---3.查询表中不连续的ID是多少
select * from (select * from yplx_pur) t where not exists (select 1 from yplx_pur where ID=t.ID-1)

日常问题

原文:https://www.cnblogs.com/fuji-ling/p/14707625.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!