Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IIF statement
Message
From
26/09/2001 08:25:05
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
24/09/2001 19:22:07
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Miscellaneous
Thread ID:
00560189
Message ID:
00560890
Views:
17
>>I am not sure if this would work inside of SELECT statement.
>>What I am trying to do is:
>>
>>SELECT FROM myTable.*, IIF(myTable.GoodBad, "Good", "Bad") as MyExp
>>
>>I need to add few calculated fields to my query.
>
>See Sergey's reply. Also read the SQL books online on CASE (T-SQL).

Do you have a link for this?

Renoir
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform