BUG: EXAMPLE8.C in Prog. Ref. Does Not Match Sample Program (113136)
The information in this article applies to:
- Microsoft SQL Server for Windows NT
This article was previously published under Q113136
BUG# 9921 (4.2)
SYMPTOMS
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.
WORKAROUND
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.
STATUS
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.
Modification Type: | Major | Last Reviewed: | 2/7/2002 |
---|
Keywords: | kbother KB113136 |
---|
|