Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IIF() equivalent
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01082688
Message ID:
01082726
Views:
9
>>>Is there an equivalent of FoxPro's IIF() function in T-SQL?
>>
>>
CASE WHEN fld1<0 THEN 0 ELSE fld1 END
>
>Might be a new UT responce time record: 29 seconds!
>:)

Looks like you used floating point calculator to get the time difference between question and answer. :)
Your result is off by 2 seconds. :)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform