Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
INSERT INTO with condition
Message
De
21/08/2014 17:06:07
 
 
À
21/08/2014 16:58:56
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2012
Application:
Web
Divers
Thread ID:
01606222
Message ID:
01606223
Vues:
87
This message has been marked as the solution to the initial question of the thread.
>I am doing an INSERT INTO from a SELECT. In the SELECT list of fields, I need to apply a condition to either use one field or another. What would be the syntax to support that?

Maybe CASE in the select?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform