Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting last record information
Message
From
06/07/2000 13:39:50
 
 
To
06/07/2000 11:20:11
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00388904
Message ID:
00388996
Views:
9
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform