Manik writes "Hi, Please let me know why the following queries return two different result sets. USE PUBS SELECT * FROM discounts WHERE stor_id IS NULL SELECT * FROM discounts WHERE stor_id = NULL
I wish SQL would raise a syntax error, or somesuch, when I accidentally type "= NULL" ... takes me a while to find it the couple of times a year it happens :-) And as it happens it happened today and happened to take me a long time to find :-(