开发者

What are the restrictions on "database-name" when attaching a database using SQLite?

开发者_开发百科

What are the restrictions on "database-name" when attaching a database using SQLite?


In the absence of any information otherwise, assume it's an SQL identifier. SQLite reserves the names main and temp, but almost anything else can be used if properly quoted. Still, I'd recommend avoiding SQL keywords and such, if just to keep the confusion quota down. (Database names are arbitrary, and do not need to correlate with the name of the file containing them.)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜