Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inline IIF other than CASE WHEN ?
Message
 
 
To
29/10/2013 13:18:16
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008 R2
Application:
Desktop
Miscellaneous
Thread ID:
01586704
Message ID:
01586714
Views:
45
>Maybe I just drempt it but I thought somewhere I saw a TSQL construct other than the CASE WHEN that emulated the behavior of the VFP IIF()
>
>I'm converting a large number of local views in VFP to remote views and there are alot of IIF statements and I thought the last itme I did this I had seen an alternate way of doing it.
>
>CASE WHEN works fine but its bothering me that I can't remember where I saw this and I figure only other VFP folks would know what I'm talking about.

SQL 2012 has IIF and also choose

See http://technet.microsoft.com/en-us/library/hh213019.aspx
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform