Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Performing an IF statement in a SQL Statement.
Message
 
À
25/02/2005 12:02:24
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Database:
MS SQL Server
Divers
Thread ID:
00990593
Message ID:
00990634
Vues:
24
You could create a SQL Server User Defined function to do this as well as Jon's solution.

The UDF approach makes the SQL a little more readable and doesnt perform too bad IMO.

Rodman
Rod Paddock
Editor in Chief CoDe Magazine
President Dash Point Software, Inc.
VP Red Matrix Technologies,Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform