MSSQL Select Not Null

I mainly use MySQL these days, so get screwed over for a few minutes when I have to do something in MSSQL that is slightly different when it comes to it’s custom syntax.

If you want to show all entries in a specific column and where it is not Null then you can do the following:

SELECT [columnNameHere]
FROM [databaseNameHere].[dbo].[databaseTableNameHere]
WHERE [columnNameHere] IS NOT NULL

Share This Article

Related Posts

Comments

There are no comments on this entry.

Trackbacks

There are no trackbacks on this entry.

Add a Comment

Required

Required

Optional

Latest Domains

1. teledyne.com
(5 hours ago)
2. ngtechonology.com
(6 hours ago)
3. nonude.in
(6 hours ago)
4. spicyhunt.com
(13 hours ago)
5. whpromotions.co.uk
(15 hours ago)
6. seslihome.com
(17 hours ago)
7. sesliislam.com
(19 hours ago)
8. woopra.com
(1 day ago)
9. wapdam.com
(1 day ago)
10. 193.105.134.194
(1 day ago)

Services

PHP MySQL Apache Flash Air Java C++ Python