BUG: EXAMPLE8.C in Prog. Ref. Does Not Match Sample ProgramID: Q113136
|
On page 294 of the SQL Server for Windows NT "Programmer's Reference for C," there is a typographical error in the dbrpcparam call for @param4. The source for EXAMPLE8.C provided with the SQL Server Programmer's Toolkit has the third parameter (status) set to NULL, whereas in the "Programmer's Reference" it is set to DBRPCRETURN.
In order for the version in the documentation to run correctly, it is necessary to either modify the CREATE PROCEDURE statement so that @param4 is declared as an output parameter or modify the call to dbrpcparam for @param4 to use NULL as the value for the status parameter.
Microsoft has confirmed this to be a problem in the documentation for Microsoft SQL Server version 4.2. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
Additional query words: Windows NT
Keywords : kbother SSrvDoc_Err kbbug4.20 SSrvWinNT
Version : 4.2
Platform : WINDOWS
Issue type :
Last Reviewed: March 19, 1999