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: DetlefEnge <DetlefEnge at aol dot com>
Subject: Return Stati
Date: Mar 20 1998 4:42PM

Hi,

How can I find out if a statement produced an error or finished ok, using
Sybase::CTlib? - Actually the question is, are there any variables that
indicate the status of a statement?

e.g.: 

$dbh->ct_sql('insert into bla values(bla,bla,bla)'); # ok
$dbh->ct_sql(insert into bla values(bla,bla,bla)'); # error because of
duplicate key

How can I suppress the messages to stderr?

Thanks!

Detlef