Sql Server 2005 Tip:Implicit Conversion of bit data types
Didn't you know that the following statement is now valid for Sql Server 2005 as criteria for a column with bit data type?
SELECT * FROM Orders WHERE Processed = 'true'The engine is now intelligent enough to implicitly convert it to
SELECT * FROM Orders WHERE Processed = 1More readable, imo. Too bad it's Sql Server 2005 only.