IT猫扑网文章教程

分类分类

Oracle创建、重建和删除索引

2015-06-28 00:00作者:网管联盟

  创建索引:

  SQL> create index mcconf_index on mc$ma_warn_config (NAME);

  Index created.

  SQL> select owner,object_name from all_objects where object_type='INDEX' and object_name='MCCONF_INDEX';

  OWNER  OBJECT_NAME

  ------------------------------ ------------------------------

  MEGATRUST    MCCONF_INDEX

  重建索引:

  SQL> alter index mcconf_index rebuild;

  Index altered.

  删除索引:

  SQL> drop index mcconf_index;

  Index dropped.

展开全部

相关文章

说两句网友评论
    我要跟贴
    取消