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: "Fuerte, Hector BGI SF" <Hector dot Fuerte at barclaysglobal dot com>
Subject: Trapping Sybase errors...
Date: Feb 9 2000 10:25PM

Hi!
 
How do you trap this sql error in Perl:
 
Msg 2601, Level 14, State 3:
Server 'SA_SBU', Line 1:
Attempt to insert duplicate key row in object 't_web_xing_stats_hist' with
unique index 'XPKt_web_xing_stats_hist'
Command has been aborted.
(0 rows affected)
 
thanks.
Hector