Hi,
I seem unable to get the syntax right to use a case select on a tinyint column that returns blank if it is null.
I have
But the returned result for those that are NULL show ZERO not blank?
How do I return blank for a tinyint column that is NULL?
Thanks,
Craig.
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Dance Music Downloads
I seem unable to get the syntax right to use a case select on a tinyint column that returns blank if it is null.
I have
Code:
CAST(
Case When
(Final_Rating IS NULL)
Then ''
Else Final_Rating
End AS Char(1))
But the returned result for those that are NULL show ZERO not blank?
How do I return blank for a tinyint column that is NULL?
Thanks,
Craig.
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Dance Music Downloads