Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Iif statement in SQL 2000 select statement
Message
 
 
To
24/04/2003 10:30:24
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00781060
Message ID:
00781112
Views:
17
You're welcome.

>More life saving!!!!!!!!
>
>Thanks again
>Jim
>
>
>>There's no IIF() function in SQL Server. You would use CASE function instead.
...
>>CASE dbo.Made2ManageReport_v.antitip
>>WHEN 'R' THEN 'RIGHT'
>>WHEN 'L' THEN 'LEFT'
>>WHEN 'B' THEN 'BOTH'
>>ELSE 'NONE' END  AS AntiTip,
>>...
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform