SELECT * FROM yourTableName WHERE ISNULL(YourColumnName,'')<>'' --here first check whether the column is null , if it is then replace the value by '' and then compare
SELECT * FROM yourTableName WHERE YourColumnName IS NOT NULL
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)