问题描述
关于保留字三个问题:
-
是否有SQLite的任何保留字?如果是的话,它们是什么?
-
如果有保留字,是正确的语法使用其中一个作为列或表名还是用括号括起来?例如,
[用户]
或[名]
? -
有没有使用的话中保留的SQL(例如,SQLServer的)其他的口味,但使用ADO.NET时要查询SQLite数据库不保留在SQLite的任何影响?
-
是的,请参阅 http://www.sqlite.org/lang_keywords.html 的名单。
-
您可以括号他们,但它不是标准的SQL。此外,请参阅http://www.sqlite.org/lang_keywords.html
Three questions about reserved words:
Are there any reserved words in SQLite? If so, what are they?
If there are reserved words, is the correct syntax for using one of them as a column or table name still to surround it with brackets? E.g.,
[User]
or[Name]
?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?
Yes, see http://www.sqlite.org/lang_keywords.html for the list.
You can bracket them, but it isn't standard SQL. Also, see http://www.sqlite.org/lang_keywords.html
这篇关于是否有任何的SQLite保留字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!