Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Iif() in sql server
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Iif() in sql server
Divers
Thread ID:
01102340
Message ID:
01102340
Vues:
58
hi
i am trying to create a view in sql server 2000...
in my select statement i want to use iif() function , but it gives a error.

my syntax is select iif(xfield1 = 1,xfield1,xfield2) as new_field_name

but this gives an error.....
pls let me know how to use iif() function in sql server

thanx
Riyaz Patanwala
I. T. Programmer
Al Jaber Energy Services L.L.C.
P.O.Box 47467
Abu Dhabi, U.A.E.
Tel - +971 2-502-1644
Fax - +971 2-554-6106
Cell - +971 50 358-0229
Email - riyaz.patanwala@ajes.ae
Website - www.ajes.ae
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform