Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to put conditional where clauses?
Message
 
To
17/12/2007 03:59:25
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01276215
Message ID:
01276217
Views:
26
Hi,

I would use something like:
case when a.selection = '1' then a.type1 else b.type2 end
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform