Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Return table with data and null values

$
0
0

HI sql gurus, I have a table with a column that contains both data and null.  I want to return a specific value of 'TBD' and anything that is null.

I am trying the following but it's not working:

select Subject_Property_St_Address from Reporting_Table where Subject_Property_St_Address like 't%' and Subject_Property_St_Address is null

I can only figure out how to run to run the commands individually but I need the results in the same output

Thanks!   


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>