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: Michael Peppler <mpeppler at peppler dot org>
Subject: error handling
Date: May 14 1999 4:08PM

Louis Proyect writes:
 > Hi, I just successfully implemented an error handler using examples from
 > the archives of this mailing-list, which I have just joined. Unfortunately,
 > it seems to produce a virtually useless error message-->
 > 
 > "General SQL Server error: Check messages from the SQL Server"

The actual SQL error is returned in the message handler, see
dbmsghandle() in the sybperl docs and the message_handler() in
lib/sybutil.pl for details

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@peppler.org    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com