The information in this article applies to:
BUG# NT: 11897 (6.00) SYMPTOMS
The @@identity global variable will be NULL under the following conditions:
WORKAROUND
Do not query the @@identity global variable from more than one stored
procedure nesting level.
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server version 6.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATION
The following script shows the @@identity global variable returning a NULL
value:
Additional query words: sql6 windows nt sproc sp
Keywords : kbprg SSrvStProc kbbug6.00 SrvProg |
Last Reviewed: April 19, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |