﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Question of the Day (QOD) / Testing Center  / Question of the Day for 01 Mar 2007 / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 23:33:51 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>easy one for NULL :-)</description><pubDate>Tue, 27 Nov 2012 05:21:55 GMT</pubDate><dc:creator>kapil_kk</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>I read this question, decided it was a bit weird because where clauses don't evaluate to anything and concluded that it must be asking what truth-value/values the expression in the where clause evaluates to and ansered accordingly (UNKNOWN).  The answer given as correct is FALSE.  The explanation simply says that the contained expression always evaluates UNKNOWN, and doen't make any suggestion of how FALSE comes from here.  I guess the author has invented a new terminology: in this new terminology a filter evaluates to something instead of including or excluding a row, and "evaluates to false" means "excludes the current row".  That's not very useful, as the existing terminology makes perfect sense.</description><pubDate>Tue, 20 Apr 2010 15:42:41 GMT</pubDate><dc:creator>L' Eomot Inversé</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>ok. ok. got it....thanks.</description><pubDate>Wed, 24 Mar 2010 21:59:40 GMT</pubDate><dc:creator>peratchiselvi.m</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>[quote][b]peratchiselvi.m (3/24/2010)[/b][hr]s. ssc went wrong there then.... thank u...[/quote]No not really, it's a kind of a trick question... when you use the = operator and compare to null, the result is always unknown rather than true or false. The proper expression is "IS NULL" which will evaluate to true or false rather than unknown. That's what the question was about.</description><pubDate>Wed, 24 Mar 2010 10:07:18 GMT</pubDate><dc:creator>Jasmine D. Adamson</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>s. ssc went wrong there then.... thank u...</description><pubDate>Wed, 24 Mar 2010 05:38:29 GMT</pubDate><dc:creator>peratchiselvi.m</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>[quote][b]peratchiselvi.m (3/23/2010)[/b][hr]In the answer for this question, "The expression "MyID = NULL" evaluates to Unknown rather than any true or false condition."then y it is false... instead of unknown. can anyone pls answer this...[/quote]It isn't "false" it is "null" - but it will fail in a where clause or case statement because it's "not true"</description><pubDate>Tue, 23 Mar 2010 09:28:07 GMT</pubDate><dc:creator>Jasmine D. Adamson</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>In the answer for this question, "The expression "MyID = NULL" evaluates to Unknown rather than any true or false condition."then y it is false... instead of unknown. can anyone pls answer this...</description><pubDate>Tue, 23 Mar 2010 03:54:29 GMT</pubDate><dc:creator>peratchiselvi.m</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>This question is quite wrong. The SET key word can not be used by = (EqualTo operator). The correct syntax is:SET ANSI_NULLS  OFFthis is wrong:SET ANSI_NULLS= OFF</description><pubDate>Wed, 29 Jul 2009 03:17:21 GMT</pubDate><dc:creator>Deepak Sharma-2311</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>To further complicate things...can you actually SET ANSI_NULLS [highlight=#ffff11][size="5"]= [/size][/highlight]ON?</description><pubDate>Tue, 04 Mar 2008 13:38:07 GMT</pubDate><dc:creator>Jeremy Giaco</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>here i don't understand either!!. first there is mistake in question and that is followed by answer explanation. it says correct answer is "FALSE". AGaina in explanation it says , the where clause evalutes to UNKNOWN, neither true or false. LOOK beloew/.................Category: T-SQLWhat does this WHERE clause evaluate to? (there are rows with NULL values) SET ANSI_NULLS = ONselect top 10 *  from MyTable where Myid = NULL Sorry - you were wrong Correct answer:  [b]False  [/b]Explanation:  The expression "MyID = NULL" evaluates to Unkown rather than any true or false condition. Ref: NULL Versus NULL? - http://www.sqlservercentral.com/columnists/mcoles/2829.asp   Join the discussion about this question </description><pubDate>Wed, 13 Feb 2008 00:30:40 GMT</pubDate><dc:creator>SSIS\SSRS\SSAS</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>But if actually when SET ANSI_NULLS is ON, all comparisons against a null value evaluate to UNKNOWN why is the correct answer FALSE? At least that is what I got.(Also, there is this other question about upgrading from MSDE to SQL 2005, after I went back to the list  of questions all my answers were deleted. Had to start again)</description><pubDate>Thu, 05 Apr 2007 21:44:00 GMT</pubDate><dc:creator>dde</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>This is directly from the BOL's section on SET ANSI_NULLThe SQL-92 standard requires that an equals (=) or not equal to (&lt;&gt;) comparison against a null value evaluates to FALSE....When SET ANSI_NULLS is ON, all comparisons against a null value evaluate to UNKNOWN.So, if the = or &lt;&gt; are used, it evaluates to FALSE, but if any other comparison is used it evaluates to UNKNOWN.-SQLBill</description><pubDate>Wed, 14 Mar 2007 17:33:00 GMT</pubDate><dc:creator>SQLBill</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>1. still FALSE2. TRUE3. still UNKNOWN4. FALSE5. Always TRUE6. YES!!7. One can only hope. It's just a game and not one I'd put on the resume/CV due to the moderator's inability to write great questions &lt;img src='images/emotions/smile.gif' height='20' width='20' border='0' title='Smile' align='absmiddle'&gt;Steve</description><pubDate>Fri, 02 Mar 2007 07:45:00 GMT</pubDate><dc:creator>Steve Jones - SSC Editor</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>&lt;P&gt;I understand the True, False, Unknown of Null evaluations. However, It's not UNKOWN to me.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Will I receive results from the query? -- &lt;STRONG&gt;FALSE&lt;/STRONG&gt; &lt;img src='images/emotions/w00t.gif' height='20' width='20' border='0' title='w00t' align='absmiddle'&gt;&lt;/LI&gt;&lt;LI&gt;Did the question specify "ANSI NULLS = ON"? -- &lt;STRONG&gt;FALSE&lt;/STRONG&gt; &lt;img src='images/emotions/sick.gif' height='20' width='20' border='0' title='Sick' align='absmiddle'&gt;&lt;/LI&gt;&lt;LI&gt;How does the predicate "Myid = NULL" evaluate? -- &lt;STRONG&gt;UNKNOWN&lt;/STRONG&gt; &lt;img src='images/emotions/hehe.gif' height='20' width='20' border='0' title='HeHe' align='absmiddle'&gt;&lt;/LI&gt;&lt;LI&gt;How does the WHERE clause evaluate? -- (I still say &lt;STRONG&gt;FALSE&lt;/STRONG&gt;) &lt;img src='images/emotions/ermm.gif' height='20' width='20' border='0' title='Errmmm...' align='absmiddle'&gt;&lt;/LI&gt;&lt;LI&gt;Does everyone get fired up about this? -- &lt;STRONG&gt;TRUE&lt;/STRONG&gt; &lt;img src='images/emotions/crazy.gif' height='20' width='20' border='0' title='Crazy' align='absmiddle'&gt;&lt;/LI&gt;&lt;LI&gt;Will I get my points back? -- &lt;STRONG&gt;UNKNOWN&lt;/STRONG&gt; to me (Only Steve Knows) &lt;img src='images/emotions/whistling.gif' height='20' width='20' title='Whistling' align='absmiddle'&gt;&lt;/LI&gt;&lt;LI&gt;Will I get over it? -- &lt;STRONG&gt;TRUE&lt;/STRONG&gt; &lt;img src='images/emotions/crying.gif' height='20' width='20' border='0' title='Crying' align='absmiddle'&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;img src='images/emotions/smile.gif' height='20' width='20' border='0' title='Smile' align='absmiddle'&gt;&lt;/P&gt;</description><pubDate>Thu, 01 Mar 2007 17:16:00 GMT</pubDate><dc:creator>Larry Briscoe</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>&lt;P&gt;What is a BOL?    heh &lt;/P&gt;&lt;P&gt;jg&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Thu, 01 Mar 2007 13:38:00 GMT</pubDate><dc:creator>Jeff Gray</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>&lt;P&gt;Tracked down the most obvious quote from BOL:&lt;/P&gt;&lt;DT&gt;&amp;lt; predicate &amp;gt; &lt;DD&gt;&lt;P&gt;Is an expression that returns TRUE, FALSE, or UNKNOWN.&lt;/P&gt;&lt;/DD&gt;&lt;P&gt;Copied from the page on WHERE clause Search Conditions &lt;A href="http://msdn2.microsoft.com/en-US/library/ms173545.aspx"&gt;http://msdn2.microsoft.com/en-US/library/ms173545.aspx&lt;/A&gt;&lt;/P&gt;</description><pubDate>Thu, 01 Mar 2007 13:30:00 GMT</pubDate><dc:creator>Rick Townsend</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>&lt;P&gt;That's the whole problem with three-part logic, it adds a third option to the usual true/false pair.  ANSI SQL defines Unknown to handle the case where you're evaluating against rows where you don't know the value.  Take a real-life example:&lt;/P&gt;&lt;P&gt;I have a sibling, who I call Sam.  Is it a boy?  It looks like a simple yes/no question, but you have to answer "Unknown", because you don't have sufficient information.  Since ANSI NULLs represent "Unknown" values, you can't know if they match or not.  (It's counter-intuitive, I know.)&lt;/P&gt;&lt;P&gt;Larry's example:&lt;/P&gt;&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;P&gt;&lt;STRONG&gt;If NULL = NULL     Print 'True'Else     Print 'False'&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P dir=ltr&gt;seems correct because he assumed two-part logic.  But it's a false-dichotomy; try expanding Jeff's example this way instead (remembering to set ANSI_NULLS ON):&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(null&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;null)&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;print&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'null = null is true'&lt;/P&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;&lt;STRONG&gt;else&lt;/STRONG&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;if&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;not&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(null&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;null)&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;print&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'not (null = null) is true'&lt;/P&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;&lt;STRONG&gt;else&lt;/STRONG&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;print&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'neither is true'&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;That shows it better.  (null = null) isn't true, and it isn't false (not (false) would have been true).  It's neither.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;Coming back to Question of the Day, I think we all agree it's poorly written.  After reviewing it, I'd like to see the question changed to:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;What does &lt;STRONG&gt;the predicate in&lt;/STRONG&gt; this WHERE clause evaluate to? (there are rows with NULL values&lt;STRONG&gt;, and ANSI_NULLS is ON&lt;/STRONG&gt;)&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Thu, 01 Mar 2007 13:16:00 GMT</pubDate><dc:creator>Rick Townsend</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>&lt;P&gt;Jeff, &lt;/P&gt;&lt;P&gt;If the where clause is only true when the expression is true, then it's FALSE.&lt;/P&gt;&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;P dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;STRONG&gt;If NULL = NULL &lt;/STRONG&gt;&lt;STRONG&gt;    Print 'True'Else     Print 'False'&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;STRONG&gt;&lt;img src='images/emotions/confused.gif' height='20' width='20' border='0' title='Confused' align='absmiddle'&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P dir=ltr&gt; &lt;/P&gt;</description><pubDate>Thu, 01 Mar 2007 12:07:00 GMT</pubDate><dc:creator>Larry Briscoe</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>I agree that this is poorly written for the reasons given before me. But, I got it right without waiting for tomorrow!</description><pubDate>Thu, 01 Mar 2007 11:02:00 GMT</pubDate><dc:creator>TDuffy</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>The answer for this is pretty wrong. I've been doin this stuff for a long time and all where clauses evaluate to either true or false. Always, 24/7/365, that's what you get. It's incorrect to have a where clause return NULL. Until we have computers that can simultaneously send back a row and not send back a row, our where clauses will be boolean, meaning two-valued.The comparison evaluates to NULL, but who cares - it's the effect on the where clause that's important. I'm irked that I didn't get points for this one.</description><pubDate>Thu, 01 Mar 2007 09:15:00 GMT</pubDate><dc:creator>Jasmine D. Adamson</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>&lt;P&gt;Hi Larry,&lt;/P&gt;&lt;P&gt;The expression evaluates to Unknown.  It is neither true nor false.&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;If NULL = NULL    Print 'True'If NOT (NULL = NULL)  Print 'False'&lt;/P&gt;&lt;P&gt;The problem with the question is that it asks what the WHERE clause evaluates to, which is only true if the expression is true.  &lt;/P&gt;&lt;P&gt;Curiously, the explanation correctly indicates that the expression evaluates to Unknown.  It's almost as if the explanation to a different question is given.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Thu, 01 Mar 2007 08:03:00 GMT</pubDate><dc:creator>Jeff Gray</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>False is the Right Answer. That we know that we will get zero rows..</description><pubDate>Thu, 01 Mar 2007 07:52:00 GMT</pubDate><dc:creator>vinurajr</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>&lt;P&gt;How can that question be answered the way it is stated? I've known how NULLS work for ever and still got it &lt;STRONG&gt;wrong&lt;/STRONG&gt;. I'm 100% confident in how NULLS work. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;    Myid = NULL&lt;/STRONG&gt;         and&lt;STRONG&gt;    Myid != NULL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Will both evaluate FALSE, or not give results. If I received results would that be TRUE. By not getting results is FALSE!!!&lt;/P&gt;&lt;P&gt;I think the Question and Answer are phrased badly and incorrect. The answer should be FALSE. How can UNKNOWN be the answer, when I know what the results would be (FALSE).&lt;/P&gt;&lt;P&gt;Maybe, it's only UNKNOWN to the writer. Because, I know it's FALSE. It'll always return NO ROWS, that's pretty well KNOWN.&lt;/P&gt;&lt;P&gt;If you get the question right, it's obvious what UNKNOWN is. How NULLS work!!! &lt;img src='images/emotions/angry.gif' height='20' width='20' border='0' title='Angry' align='absmiddle'&gt;&lt;/P&gt;&lt;P&gt;If you got the question right. Here's how NULLS work.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;    Myid IS NULL &lt;/STRONG&gt;  (is the proper way to write the statement)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Also, I agree with Jeff Gray on the ANSI NULLS setting.&lt;/P&gt;&lt;P&gt;Please give me my points back! &lt;img src='images/emotions/crazy.gif' height='20' width='20' border='0' title='Crazy' align='absmiddle'&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Thu, 01 Mar 2007 07:51:00 GMT</pubDate><dc:creator>Larry Briscoe</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>&lt;P&gt;If you want to know how many records there are with MyID that is null, you write the query this way:&lt;/P&gt;&lt;PRE&gt;select top 10 *  from MyTable where Myid &lt;STRONG&gt;IS NULL&lt;/STRONG&gt;&lt;/PRE&gt;&lt;PRE&gt;Or to return all rows where Myid has a value:&lt;/PRE&gt;&lt;PRE&gt;&lt;PRE&gt;select top 10 *  from MyTable where Myid &lt;STRONG&gt;IS NOT NULL&lt;/STRONG&gt;&lt;/PRE&gt;&lt;/PRE&gt;</description><pubDate>Thu, 01 Mar 2007 07:42:00 GMT</pubDate><dc:creator>Eric Shaffer</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>&lt;P&gt;The question is somewhat completely and utterly wrong.  &lt;/P&gt;&lt;P&gt;A where clause does not evaluate TO anything at all.  In this case there will never be any rows matching the filter (assuming the normal ANSI NULLS setting), so the best answer among all of the possible but all incorrect answers is "False".  "Unknown" is not correct, because it is "known" that no rows will match.&lt;/P&gt;&lt;P&gt;The expression IN the where clause evaluates to Unknown, but that is not what the question asks.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Thu, 01 Mar 2007 07:32:00 GMT</pubDate><dc:creator>Jeff Gray</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>I'm puzzled...isn't it the same as 'where 1=2' ? doesn't it always evaluate to false and isn't that why you don't get nothing on the results ??</description><pubDate>Thu, 01 Mar 2007 02:16:00 GMT</pubDate><dc:creator>Hugo Felicio</dc:creator></item><item><title>RE: Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>Could we have the question expanded to include a comment that ANSI_NULLS is set to ON?  Because if a user ran that with ANSI_NULLS OFF, the WHERE clause would evaluate to TRUE.</description><pubDate>Wed, 28 Feb 2007 21:25:00 GMT</pubDate><dc:creator>Rick Townsend</dc:creator></item><item><title>Question of the Day for 01 Mar 2007</title><link>http://www.sqlservercentral.com/Forums/Topic346443-120-1.aspx</link><description>Comments posted to this topic are about the Question of the Day for 01 Mar 2007 posted at http://www.sqlservercentral.com/testcenter/qod.asp?QuestionID=981.</description><pubDate>Wed, 21 Feb 2007 10:05:00 GMT</pubDate><dc:creator>Site Owners</dc:creator></item></channel></rss>