当前位置: 代码迷 >> 综合 >> oracle数据库为表字段建立索引得方法
  详细解决方案

oracle数据库为表字段建立索引得方法

热度:2   发布时间:2023-09-06 19:21:32.0

语法sql:create index 索引名称 on 表名 (字段名称);

实例sql:create index info_task_id on sended_info (task_id);

          info_task_id :索引名字自己起得

         sended_info :数据库表名称

          task_id:数据库字段名称

查询sql:select t.*  from sended_info t;

  相关解决方案