Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting last record information
Message
De
06/07/2000 13:39:50
 
 
À
06/07/2000 11:20:11
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00388904
Message ID:
00388996
Vues:
7
>I believe that after an insert or a delete you can access that record again to compare values or do whatever with it. However I can't find anything in Books Online about how to get this information. I thought it was something like "select from deleted" or "select from inserted". It just doesn't work like this, so what I am missing? TIA.

The 'deleted' and 'inserted' aliases are only available from triggers. Also, don't forget that triggers aren't always fired once per record - those 2 virtual tables might contain more than one record.

Hope this help!
Sylvain Demers
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform