Microsoft KB Archive/156142

= PRB: Symbol Always Shown in Input Parameters Dialog =

Article ID: 156142

Article Last Modified on 12/2/2003

-

APPLIES TO


 * Microsoft Visual C++ 4.2 Professional Edition
 * Microsoft Visual C++ 5.0 Enterprise Edition
 * Microsoft Visual C++ 6.0 Enterprise Edition
 * Microsoft Visual C++ 5.0 Professional Edition
 * Microsoft Visual C++ 6.0 Professional Edition
 * Microsoft Visual C++ 6.0 Standard Edition

-



This article was previously published under Q156142



SYMPTOMS
When you execute or debug any stored procedure, the Execute Stored Procedure dialog box shows the symbol Default even if the procedure does not have default value parameters.



CAUSE
Open Database Connectivity (ODBC) and SQL Server do not provide a means to determine if a stored procedure has been defined with default values for parameters.



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



MORE INFORMATION
In the Execute Stored Procedure dialog box, the values you enter are correctly passed to the procedure. When you do not enter explicit values and there is no default value for the parameter, you get an error. For example, the SQL Server datasource gives the following error:

37000[Microsoft][ODBC SQL Server Drier][SQL Server]

Procedure expects parameter which was not supplied

Keywords: kbbug kbsqlprog kbdatabase kbprogramming kbeedition kbdebug kbprb KB156142

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.