Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 need to check columns if they are null or not

Author  Topic 

AdamWest
Constraint Violating Yak Guru

360 Posts

Posted - 2011-04-14 : 09:41:53
How to check a column for a not null condition?
this is not accepted:

SELECT * FROM dbtech where customerid not = null

nigelrivett
Master Smack Fu Yak Hacker

3385 Posts

Posted - 2011-04-14 : 09:45:04
SELECT * FROM dbtech where customerid is not null

==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -