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 |
|
Revoked
Starting Member
1 Post |
Posted - 2002-10-24 : 15:42:37
|
| okay is it possible to do something like this:SELECT IF(<condition>,myColumn1,myColumn2) FROM myTableif <condition> = true then I basically have:SELECT mycolumn1 FROM myTableif <condition> = false then:SELECT myColumn2 FROM myTableis this possible at all?? I thought I saw something that did it a while back but I can't remember. |
|
|
robvolk
Most Valuable Yak
15732 Posts |
|
|
|
|
|