The information in this article applies to:
BUG#: 14961 (4.21a) SYMPTOMS
If a stored procedure is created that does an UPDATE statement and uses
alias names and table names intermixed in a query accompanied by aggregate
functions, the upgrade of a SQL Server version 4.21a server to version 6.0
may hang and a handled access violation (AV) will be seen in the error log.
WORKAROUND
Verify that there are no stored procedures fitting the above criteria that
would cause the upgrade to hang.
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server version 4.21a. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATION
An example of a stored procedure that would result in a handled access
violation is:
If the aggregate statement is taken out, the upgrade completes successfully, but the error log will show that the stored procedure could not be upgraded. The stored procedure will need to be dropped and recreated. The following example shows this behavior:
If all the table name prefixes are replaced with aliases, the upgrade completes successfully and the stored procedure does not need to be recreated. A similar stored procedure that just does a SELECT statement will result in a successful upgrade, but the stored procedure will need to be recreated. The following example shows this behavior:
Additional query words: exception sp sproc hung
Keywords : kbprg SSrvStProc kbbug4.21a |
Last Reviewed: March 25, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |