Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT iif(... Expression Syntax Question
Message
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
SELECT iif(... Expression Syntax Question
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01337260
Message ID:
01337260
Vues:
57
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform