|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Sybase::Dblib problem...
Date: May 18 1998 11:30PM
Mark Haviland writes:
> Hi,
>
> I'm trying to implement some of my own methods that extend the
> Sybase::DBlib, but for some reason cannot get status results when I do a
> dbsqlexec. My subclass starts out like this:
>
>
> $dbh->dbcmd($sql_cmd);
> $status = $dbh->dbsqlexec;
> croak "\n Could not execute database command.\n" unless ($status ==
> $Sybase::DBlib::SUCCEED);
> $dbh->dbresults;
Read the documentation for dbsqlexec() and dbresults() carefully (go
to
http://sybooks.sybase.com:80/dynaweb/group3/cng1110e/dblib/@Generic__BookView
if you don't have the docs available to you at your site.
Michael
--
Michael Peppler -||- Data Migrations Inc.
mpeppler@datamig.com -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
|