本文介绍了另一个JET缺陷的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! Access为这个简单的查询产生错误的结果: SELECT(4<> Null)AS Expr1; 详情: http://allenbrowne.com/bug-11.html - Allen Browne - 微软MVP。西澳大利亚州珀斯。 访问用户提示 - http:// allenbrowne.com/tips.html 回复群组,而不是mvps dot org的allenbrowne。 解决方案 先生。布朗, 也许是这样。但是对于那些使用Access的大量管理助理来说,没有学习布尔代数或精通集合论或给老鼠 而是关于关系理论的陈述( 4<> Null)= Null违反逻辑。 4不等于Null他们会说,并且同意Access这是一个 真实的陈述。访问是一个rdbms作为数据库投入其余的 我们。 Jet的许多缺陷都是对正统做事方式的改变 让行政助理的生活变得更轻松,而这些行政助理经常被绳索化而无需正式建立数据库应用程序培训。 " Allen Browne" <铝********* @ SeeSig.Invalid>在消息中写道 news:41 *********************** @ per-qv1-newsreader-01.iinet.net。 au ... Access为这个简单的查询产生错误的结果: SELECT(4<> Null)AS Expr1; 详情: http://allenbrowne.com/bug-11.html - Allen Browne - 微软MVP。西澳大利亚州珀斯。访问用户提示 - http://allenbrowne.com/ tips.html 回复群组,而不是在mvps dot org的allenbrowne。 " Allen Browne" <铝********* @ SeeSig.Invalid>在消息中写道 news:41 *********************** @ per-qv1-newsreader-01.iinet.net。 au ... Access为这个简单的查询产生错误的结果: SELECT(4<> Null)AS Expr1; ANSI SQL中的FWIW根本不能这样做。布尔数据类型不能指定为表列或变量的数据类型,并且不能在结果集中返回 。 " Allen Browne" <铝********* @ SeeSig.Invalid>在新闻中写道:4173a408 Access yields the wrong result for this simple query:SELECT (4 <> Null) AS Expr1;Details: http://allenbrowne.com/bug-11.html--Allen Browne - Microsoft MVP. Perth, Western Australia.Tips for Access users - http://allenbrowne.com/tips.htmlReply to group, rather than allenbrowne at mvps dot org. 解决方案 Mr. Browne,Maybe so. But for the tons of admin assistants out there using Access thatare not schooled in boolean algebra or versed in set theory or give a ratsbut about relational theory the statement (4 <> Null) = Null defies logic.4 does not equal Null they would say, and agree with Access that this is atrue statement. Access is an rdbms pitched as a database for the rest ofus. Many of Jet''s flaws are changes to the orthodox way of doing things tomake life easier for the administrative assistants that often get roped intobuilding database applications without formal training."Allen Browne" <Al*********@SeeSig.Invalid> wrote in messagenews:41***********************@per-qv1-newsreader-01.iinet.net.au... Access yields the wrong result for this simple query: SELECT (4 <> Null) AS Expr1; Details: http://allenbrowne.com/bug-11.html -- Allen Browne - Microsoft MVP. Perth, Western Australia. Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org."Allen Browne" <Al*********@SeeSig.Invalid> wrote in messagenews:41***********************@per-qv1-newsreader-01.iinet.net.au... Access yields the wrong result for this simple query: SELECT (4 <> Null) AS Expr1;FWIW in ANSI SQL you cannot do this at all. Boolean data types cannot bespecified as the data type of a table column or variable, and cannot bereturned in a result set."Allen Browne" <Al*********@SeeSig.Invalid> wrote in news:4173a408 这篇关于另一个JET缺陷的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-05 04:18