PRB: How to Use sp_displayoaerrorinfo in the sp_OA SamplesLast reviewed: April 8, 1997Article ID: Q151602 |
The information in this article applies to:
SYMPTOMSThe sp_OA procedure samples use the sp_displayoaerrorinfo procedure. However, the correct procedure is sp_OAGetErrorInfo. Here is a corrected example: EXEC @hr = sp_OACreate 'SQLOLE.SQLServer', @object OUT IF @hr <> 0 EXEC sp_OAGetErrorInfo @object MORE INFORMATIONThe ssp_displayoaerrorinfo procedure is not installed by default. If you prefer to use the wrapped stored procedure, the text of the sp can be found in the HRESULT return codes section of the "Books Online."
|
Additional query words: sproc
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |