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 |
|
hahsm
Starting Member
10 Posts |
Posted - 2009-02-10 : 11:52:16
|
| I have this codeCase When LateTime Is Not Null Then LateTimeCardElse NullEndThis gives me a black column name when the result shows. Why is this happening and how can i get the column name. Pls note that the actual column name is LateTimeThanks in advance |
|
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2009-02-10 : 12:01:54
|
Case returns one value and you give it one name.case when x is not null then y else zend as YourColumnName_here Webfred No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
|
|
|
|