General information
Forum:
Microsoft SQL Server
Title:
SELECT iif(... Expression Syntax Question
Environment versions
SQL Server:
SQL Server 2005
Probably a very easy question.
I AM DOING THIS IN C#.
In VFP I would have a SELECT statement such as:
SELECT iif( number < 1, "NOT SET", "SET") AS status FROM ...
What is the equivalent of IIF() in Microsoft SQL 2005 in building an expression for the resultant table, or is it the same?
Thank you in advance.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only