在哪里可以找到 Jet 4.0 引擎使用的特定类型 SQL 的文档?
我认为这与 MS Access 使用的相同,我认为与 MySQL 和其他人使用的不同。我需要 SQL 语言的这种特定“种类”或“子集”的文档。
Which I think is the same as the one used by MS Access, which I think is not the same as the one used by MySQL and others. I need the documentation for this particular "kind" or "subset" of SQL language.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
此处是最新版本的 Access SQL 参考 (Access 2010) 。
然而,@Remou 的回答中的指南是 Microsoft 提供的最有用的资源,指出它们已有十多年的历史,并且没有考虑到 Access 2007 ACE 时代所做的更改(即多值数据类型 - 颤抖!)
明智的一句话:Access SQL Reference 包含太多包含和遗漏的错误,此处无法详细说明,因此这里有一个简短的示例:
CREATE TABLE
语句 (Microsoft Access SQL)CREATE TEMPORARY TABLE
语法从未受 Access 支持,而且 Access 也不支持甚至还有临时表功能。看起来编写帮助的人从 SQL-92 规范中删除了这一点,认为 Access 兼容 SQL-92!WITH COMPRESSION
语法仅在 Access 的 ANSI-92 查询模式**中受支持。如果指出这一点将会很有帮助。Quote: “您可以在适用于名为
CONSTRAINT
的多字段的命名CONSTRAINT
子句中使用NOT NULL
..” - - 同样,这不是 Access 的功能,尝试使用该语法会生成错误。DEFAULT
:能够为列指定DEFAULT
值非常有用,Access 确实支持此语法,但此帮助页面中缺少此语法。IDENTITY
:Access SQL 参考中缺少此关键字,此页面是找到它的合理位置。CHECK
约束:可能是 Access SQL 最强大的功能之一,但在所有 Microsoft 文档中几乎完全不存在,仅在几篇文章中简短提及。正如我所说,这只是一页!是的,我已经向 Microsoft 和 Access 团队提供了有关这些错误的反馈(事实上,每次他们发布新版本时),但错误仍然存在:(
这是指 Access 专有的 ANSI-92 查询模式,不要与SQL-92 标准。遗憾的是,Access 永远不会兼容 SQL-92,甚至不兼容入门级 SQL-92。Access 团队似乎已从帮助中删除了 ANSI-92 查询模式页面,可能也是因为这个原因。包含错误,例如
ORDER BY
中的LIMIT TO nn ROWS
不受 Access 或其 SQL 语法的支持。Here is the most recent version of the Access SQL Reference (Access 2010).
However, the guides as per @Remou's answer are the most useful resource Microsoft makes available, noting they are over a decade old and do not take account of changes made to Access 2007 ACE era (i.e. multi-valued data types -- shudder!)
A word to the wise: the Access SQL Reference contains errors of inclusion and omission too numerous to detail here, so here's a brief example:
CREATE TABLE
Statement (Microsoft Access SQL)CREATE TEMPORARY TABLE
syntax has never been supported by Access and Access doesn't even have a temporary tables feature. It looks like someone writing the Help lifted this from the SQL-92 spec thinking that Access was SQL-92 compliant!WITH COMPRESSION
syntax is only supported in Access's ANSI-92 Query Mode**. It would be helpful if this was pointed out.Quote: "You can use
NOT NULL
.. within a namedCONSTRAINT
clause that applies to... a multiple-field namedCONSTRAINT
" -- again, this is not a feature of Access and attempting to use the syntax generates an error.DEFAULT
: it is very useful to be able to specify aDEFAULT
value for a column and Access does indeed suport this syntax yet it is missing from this page of the help.IDENTITY
: this keyword is missing from the Access SQL Reference and this page is the logical place to find it.CHECK
constraint: potentially one of the most powerful features of Access SQL but almost completely absent from all Microsoft documentation, merely gets a brief mention in a couple of articles.As I said, this is just one page! And yes I have given feedback to Microsoft and the Access Team about these errors (each time they release a new version, in fact) but the errors remain :(
This referes to Access's proprietary ANSI-92 Query Mode, not to be confused with the SQL-92 Standard. Access is not, and sadly never will be, SQL-92 compliant, not even entry level SQL-92. It seems the Access team have removed their ANSI-92 Query Mode page from the Help, possibly because that too contained errors of inclusion e.g.
LIMIT TO nn ROWS
in theORDER BY
is not supported by either Access or its SQL syntax.Microsoft Jet SQL 参考
Microsoft Jet SQL Reference
另外:
Access 2000 的基本 Microsoft Jet SQL< /代码>
Access 2000 中级 Microsoft Jet SQL
Access 2000 的高级 Microsoft Jet SQL
Also:
Fundamental Microsoft Jet SQL for Access 2000
Intermediate Microsoft Jet SQL for Access 2000
Advanced Microsoft Jet SQL for Access 2000
Jet 数据库引擎程序员指南的部分内容已在线发布:
Technet:Jet 数据库引擎< /a>
请记住,这可以追溯到 Jet 3.5,即 Access 97 中引入的版本,并且它不包括 Jet 4(A2000,1999 年引入)的任何大量更改和添加。或 ACE(A2007,从 2007 年起)。然而,它包含很多只能在那里找到的东西。我有整本书的硬拷贝,我仍然觉得它非常有用。
Parts of the Jet Database Engine Programmer's Guide have been put online:
Technet: Jet Database Engine
Keep in mind that this dates back to Jet 3.5, i.e., the version introduced in Access 97, and that it doesn't include any of the huge number of changes and additions of either Jet 4 (A2000, introduced in 1999) or the ACE (A2007, from 2007 on). However, it includes a lot of stuff that can only be found there. I have the hard copy of the whole book and I still find it extremely useful.
快速参考:
http://office.microsoft.com/en- us/access-help/CH006252688.aspx?CTT=97
http://support.microsoft.com/kb/275561
3 部分 MSDN 系列(基础、中级、高级):
http://msdn.microsoft.com/en-us/library /aa140011
http://msdn.microsoft.com/en-us/library/Aa140015
http://msdn.microsoft.com/en-us/library/aa139977
书籍:
http://www.amazon.com/exec/obidos/tg/detail/-/1572313420/qid=1087419761/sr=8-1/ref= sr_8_xs_ap_i1_xgl14/002-2193191-2954402?v=glance&s=books&n=507846
可选额外信息:
http://en.wikipedia.org/wiki/Microsoft_Jet_Database_Engine
Quick References:
http://office.microsoft.com/en-us/access-help/CH006252688.aspx?CTT=97
http://support.microsoft.com/kb/275561
3 Part MSDN Series (Fundamental, Intermediate, Advanced):
http://msdn.microsoft.com/en-us/library/aa140011
http://msdn.microsoft.com/en-us/library/Aa140015
http://msdn.microsoft.com/en-us/library/aa139977
Book:
http://www.amazon.com/exec/obidos/tg/detail/-/1572313420/qid=1087419761/sr=8-1/ref=sr_8_xs_ap_i1_xgl14/002-2193191-2954402?v=glance&s=books&n=507846
Optional Extra Info:
http://en.wikipedia.org/wiki/Microsoft_Jet_Database_Engine