Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

How to change a column value in a Select statement ?

$
0
0

Hi All,

I am trying to select the Name from the customers table and I wanted a way to in the select statement to set name to 'unknown' if the Name is set to NULL

Select Name from Customers  -- I want to set name to 'unknown' if Name is NULL

Thanks


Viewing all articles
Browse latest Browse all 23857

Trending Articles