INF: Retrieving IDENTITY Value for Referential IntegrityLast reviewed: April 30, 1997Article ID: Q134660 |
The information in this article applies to:
SUMMARYThe Microsoft SQL Server version 6.0 documentation says that you can use the @@IDENTITY variable to retrieve the last-inserted identity value. The documentation, however, does not completely state the scope of the @@IDENTITY variable. This article provides some additional information to clarify the scope of the @@IDENTITY variable.
MORE INFORMATION
|
Additional query words: sql6 global variable
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |