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
 SQL Server 2005 Forums
 Transact-SQL (2005)
 select query with blank and null

Author  Topic 

somalia
Starting Member

10 Posts

Posted - 2009-10-09 : 03:46:50
i want a select query where column is blank and null.can anybody assist me in doing it?

somalia

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2009-10-09 : 03:56:57
"blank and null" ? or should it be "blank or null" ?



where the_column = ''
or the_column is null



KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-10-09 : 13:44:51
where isnull(the_column,'') = ''
Go to Top of Page
   

- Advertisement -