Hello --
I have a CHAR column which is returning '0' vs. NULL or blank.
I have tried several flavors of CASE, but cannot override the '0' with ' ', etc.
The closest I have come is to do a LIKE ('0') then ' ' and while that seems to work, the results are returned in 2 columns -- the ORIGINAL column with the '0' and a CASE <expression> column with the blanks that I want -- I need single-column output so it can be fed to a compare program (before and after checking)...
what I'm doing is a SELECT columnA, CASE when columnA LIKE ('0') then ' ' end SAMPLE 1000;
Any ideas?
Thanks so much.
Jackson
Forums: