BUG: Stored Procedure Fails if Rights Are Revoked and RegrantedLast reviewed: March 18, 1998Article ID: Q180853 |
The information in this article applies to:
SYMPTOMSThe Microsoft Oracle driver returns the following error message when user rights are granted and then revoked on a table accessed by a stored procedure:
Return: SQL_ERROR=-1 szErrorMsg="[Microsoft][ODBC driver for Oracle]Wrong number of parameters" szErrorMsg="[Microsoft][ODBC driver for Oracle]Syntax error or access violation" CAUSEThe call to the Oracle OCI function odessp() fails in this scenario, but is needed in order to implement default parameters.
RESOLUTIONYou must recompile your stored procedure after modifying underlying table permissions before you run the stored procedure again.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior
|
Additional query words: ADO, ODBC, Oracle, ASP, Stored Procedure, Security
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |