sqlite是否支持索引? [英] Does sqlite support indexes?

查看:137
本文介绍了sqlite是否支持索引?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能告诉我Sqlite是否支持群集索引和非群集索引?如果它如何使非主键的列成为非聚集索引? 我对数据库概念非常陌生,因此非常困惑.

can anyone tell me if Sqlite supports clustered and nonclustered indexes? and if it does how do i make a column which is non primary key a nonclustered index? I am very new to database concepts hence very confused..

推荐答案

在SQLite中,使用创建索引创建的索引是非聚集索引.

In SQLite, indexes created with CREATE INDEX are non-clustered indexes.

由于版本 3.8.2 ,SQLite支持

Since version 3.8.2, SQLite supports WITHOUT ROWID tables, which are clustered indexes.

这篇关于sqlite是否支持索引?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆