The information in this article applies to:
BUG #: 16815 (6.5) 9986 (6.0) SYMPTOMSIf the "force index" Optimizer hint is used on a query against a temporary table, the query may fail with the following error: This error message occurs if both of the following conditions are true:
WORKAROUND
The stored procedure runs correctly if you EXEC it in the same batch in
which the stored procedure is created. However, if you execute the stored
procedure from another session, it must be recompiled (as when the server
restarts).
STATUSMicrosoft has confirmed this to be a problem in SQL Server
version 6.5. This problem has been corrected in U.S. Service Pack 5a
for Microsoft SQL Server version 6.5. For information about
downloading and installing the latest SQL Server Service Pack, see
http://support.microsoft.com/support/sql/.
MORE INFORMATIONAdditional query words: proc
Keywords : kbusage SSrvStProc kbbug6.50 kbfix6.50.SP5 |
Last Reviewed: November 17, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |