Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditional column in SQL Syntax
Message
De
15/03/2006 00:54:24
Czarina Joyce Villanueva
Innovision Systems International
Manila, Philippines
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Conditional column in SQL Syntax
Divers
Thread ID:
01104425
Message ID:
01104425
Vues:
50
If VFP, I can have below statement:
Select IIf(group = 1,'A','B') As sorter, amount From table1 
Is this possible in SQL Server T-SQL? Actually, I tried it but it gives me an error. Or I am just missing something?

TIA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform