sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Newbie Question on trapping errors
Date: Dec 6 1999 11:53PM
Winnie Tung writes:
> Hi:
>
> It seems to me that dbexecsql() does not always return FAIL on a failed
> operation.
dbsqlexec() returns fail if the SQL you sent only has one result
set. If there are more than one result set, then you need to loop on
dbresults() and check its return code for FAIL values.
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
|