Up Prev Next
From: "Lee Falkenhagen" <falkenl at hotmail dot com>
Subject: standard execution of stored proc
Date: Jun 16 1998 5:56PM
I need to execute several different stored procedures. Each proc
executes update statements. There should be no data returned except for
the return code. It seems to me that I have two options:
1) use sql()
But, I don't know how to get the return code...
2) use standard dbcmd, dbsqlexec, dbresults
$l_status = $::dbh->dbretstatus;
Do I need to do anything with dbnextrow? If the procedure does return
rows because of a select somewhere, I usually want to ignore them.
Certified Sybase Professional
Get Your Private, Free Email at http://www.hotmail.com