您的位置:首页 > 数据库 > Oracle

有关oracle中的索引

2014-03-27 15:26 113 查看
在oracle数据库中建立索引能够加快数据的查询速度,但是减慢了数据的更新速度。

创建索引语法:create index index_name on table_name(column_list) [tablespace tablespace_name]

                            index_name为将要创建的索引名,table_name是为之创建索引的表名,column_list是为其创建索引的列名称,可以基于多列创建索引。

                            tablespace_name是为其创建索引的表空间。

    create index name_index on Student(name) tablespace INDEXS;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  索引