Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
ssingh
Starting Member
25 Posts |
Posted - 2001-09-12 : 12:32:26
|
| I'm writing stored proc which creates a report. In my final table which displays the report I have datatype int which displays 0if there are no values. How can I instead display blanks/spaceI tried SELECTCASE WHEN COL_NAME = 0 THEN CONVERT(VARCHAR(4),'') ELSE COL_NAME END AS ABCINTO FINAL_TBLFROM #TEMP_TBLBut this also displays zeros |
|
|
|
|
|