PDA

View Full Version : Solved: WHERE false in SQL



philfer
12-08-2008, 09:44 AM
Hello,

In a piece of code I saw the following :-

SELECT CompanyName FROM tblCustomers WHERE False

in the WHERE part of the SELECT it didnt give any criteria/field it just said WHERE False.

Is this a typo in the book or does this structure have a specific use

Thanks
Phil

orange
12-08-2008, 12:08 PM
Need some criteria after the WHERE
see http://www.techonthenet.com/sql/where.php