5
How to change the NULL value in sql server to for example 'NONE', how to fix it ?
My result is coming like this:
Florida United States NULL 16
Nevada United States NULL 17
Nevada United States Cell Phone 7
Nevada United States Home 2
Nevada United States Work 1
Roma Italia NULL 131
Roma Italia Cell Phone 28
Roma Italia Home 4
Roma Italia Work 3
Rosário Argentina NULL 7
São Paulo Brazil NULL 7
Yucatán Mexico NULL 8
I wish it was 'NONE' instead of NULL
So but have to bring as NONE in my SELECT understood ? straight without I have to give an update
– Daniel
Do you just want to replace in select? Now it makes more sense. You could have posted select.
select t.a,
 t.b, 
 CASE WHEN t.c IS NULL
 THEN 'NONE'
 ELSE t.c END
from table as t– Danilo