Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to do an easy sql statement
Message
De
04/03/2002 16:26:40
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
How to do an easy sql statement
Divers
Thread ID:
00628074
Message ID:
00628074
Vues:
55
What's the easiest way in a select statement to return 'Horrizontal' if a field value is 0 and 'Vertical' if a field value is 1?

ie; select field1,field2,iif(field3=0,'Horrizontal','Vertical') as feild3

Thanks,
Darren.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform