PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

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?

Thanks,

Dave Aiello
CTDATA