Up Prev Next
From: "Dave Aiello" <dave_aiello at ctdata dot com>
Subject: Why doesn't error_handler get called if errors occur inside a stored procedure?
Date: Dec 6 2001 1:01AM
We are using Sybase::DBlib and setting message and error handlers using
&dbmsghandle() and &dberrhandle(). It does not appear that either our message
handler or our error handler are called if an error occurs inside a stored
procedure we call via an sql exec statement using DBlib. Why is that?
Second, would our message and/or error handlers be called if the stored
procedure contained a raiserror?