首页 > 数据库技术 > 详细

oracle索引

时间:2014-11-06 12:58:04      阅读:251      评论:0      收藏:0      [点我收藏+]

1,建立索引

  create index goods_num on goods (num) tablespace data;

2,查看表上索引

  select * from USER_INDEXES where table_name = ‘AA10‘ (表名大写)

3,根据索引名字查看索引详情

  select * from user_ind_columns where index_name = ‘PK_AA10‘ (索引大写)

oracle索引

原文:http://www.cnblogs.com/xinong330/p/4078252.html

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