PRB: No RAISERROR in sp_passwordLast reviewed: April 25, 1997Article ID: Q77189 |
The information in this article applies to:
- Microsoft SQL Server version 4.2 for OS/2 - Microsoft SQL Server version 4.2
SYMPTOMSThe global variable @@ERROR is not set if the sp_password procedure fails because the wrong password is supplied.
CAUSEThis is expected behavior of SQL Server. The sp_password procedure does not use the RAISERROR statement on error conditions. Instead, it prints out a message and exits the procedure.
|
Additional query words: stored procedures Windows NT
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |