select
CASE when length(attr2) > 0
then attr2
ELSE '-'
END AS attr2
from vdata
desc vdata
attr2 nvarchar(30)
What is the best way to fix this?
select
CASE when length(attr2) > 0
then attr2
ELSE '-'
END AS attr2
from vdata
desc vdata
attr2 nvarchar(30)
What is the best way to fix this?