Difference between revisions of "Sql Server 2012 - Three-Valued Logic"

From MyWiki
Jump to: navigation, search
(Created page with "The type of logic used in such a case is known as two-valued logic. The WHERE filter returns only the rows for which the predicate evaluates to true<br>")
 
Line 2: Line 2:
 
case is known as two-valued logic. The WHERE filter returns only the rows for which the predicate
 
case is known as two-valued logic. The WHERE filter returns only the rows for which the predicate
 
evaluates to true<br>
 
evaluates to true<br>
 +
A predicate can evaluate
 +
to true, false, and unknown. This type of logic is known as three-valued logic<br>

Revision as of 12:29, 25 April 2016

The type of logic used in such a case is known as two-valued logic. The WHERE filter returns only the rows for which the predicate evaluates to true
A predicate can evaluate to true, false, and unknown. This type of logic is known as three-valued logic