Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inserting and selecting at the same time
Message
De
23/09/2013 10:13:46
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Desktop
Divers
Thread ID:
01583879
Message ID:
01583880
Vues:
46
Starting in SQL 2005, they added an OUTPUT statement that you can add to the end of an INSERT statement.

it allows you immediately "get at" the values you inserted, even identity columns.

I'll type out an example in a second.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform