开发者

Are there any reserved words in SQLite?

开发者 https://www.devze.com 2022-12-29 19:29 出处:网络
Three questions about reserved words: Are there any reserved words in SQLite? If so, what are they? If there are reserved words, is the 开发者_如何学Ccorrect syntax for using one of them as a column

Three questions about reserved words:

  1. Are there any reserved words in SQLite? If so, what are they?

  2. If there are reserved words, is the 开发者_如何学Ccorrect syntax for using one of them as a column or table name still to surround it with brackets? E.g., [User] or [Name]?

  3. Are there any implications with using words that are reserved in other flavors of SQL (e.g., SQLServer) but not reserved in SQLite when using ADO.NET to query a SQLite database?


  1. Yes, see http://www.sqlite.org/lang_keywords.html for the list.

  2. You can bracket them, but it isn't standard SQL. Also, see http://www.sqlite.org/lang_keywords.html

0

精彩评论

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