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
|