Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Iif statement in SQL 2000 select statement
Message
 
 
À
24/04/2003 10:30:24
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00781060
Message ID:
00781112
Vues:
21
You're welcome.

>More life saving!!!!!!!!
>
>Thanks again
>Jim
>
>
>>There's no IIF() function in SQL Server. You would use CASE function instead.
...
>>CASE dbo.Made2ManageReport_v.antitip
>>WHEN 'R' THEN 'RIGHT'
>>WHEN 'L' THEN 'LEFT'
>>WHEN 'B' THEN 'BOTH'
>>ELSE 'NONE' END  AS AntiTip,
>>...
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform