BUG: Error 225 When Using ALTER TABLE in a BatchLast reviewed: April 28, 1997Article ID: Q89068 |
The information in this article applies to:
NT: 871 (4.2) SYMPTOMSIf the ALTER TABLE statement is used with other SQL statements in a single batch, the following error message appears:
Can not run query -- referenced object (name NAME NOT RECOVERABLE) dropped during query optimization. (msg 225, level 16, state2) CAUSEThe ALTER TABLE statement cannot be combined with other SQL statements in a batch.
WORKAROUNDDo not combine ALTER TABLE with other SQL statements in a single batch.
STATUSMicrosoft has confirmed this to be a problem in SQL Server version 4.2 for OS/2 and Microsoft SQL Server versions 4.21 and 4.21a. We are researching this problem and will post new information here as it becomes available.
|
Additional query words: Transact-SQL together Windows NT
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |