The information in this article applies to:
BUG# NT: 12099 (6.00) SYMPTOMSIn the Microsoft SQL Server version 6.0 Books Online, "Administrator's Companion," Part 8 Troubleshooting, Chapter 24 topic on Creating Supplemental Stored Procedures, the section titled "Resetting the Suspect Status" contains errors and will produce error messages if you execute the sample code. CAUSE
The example code for creating stored procedure sp_resetstatus has some
syntax errors due to missing string concatenation operator '+'. If you run
the code, you will get the following error messages:
In the section "Marking a Database Suspect," the example code for creating stored procedure sp_marksuspect has some syntax errors due to missing string concatenation operator '+'. If you run the code, you will get the following error messages:
Also in both these stored procedures, variables 'dbname' and 'msg' are defined with two @@ which is not needed. The variable names should just have one @ rather than two. NOTE: These same examples in the printed version of the "Administrator's Companion" seem to be correct. WORKAROUNDPut the missing '+' at all the appropriate places, or run the \SQL\INSTALL\INSTSUPL.SQL script. STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server version 6.00. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. Additional query words: sql6 documentation error
Keywords : SSrvDoc_Err kbbug6.00 |
Last Reviewed: March 23, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |