freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: Use Stored procedures in DBD::Sybase/FreeTDS/MS -SQL7.0
- From: Mark Schaal <mark AT champ.tstonramp.com>
- To: freetds AT franklin.oit.unc.edu
- Subject: Re: Use Stored procedures in DBD::Sybase/FreeTDS/MS -SQL7.0
- Date: Tue, 30 May 2000 14:39:49 -0700 (PDT)
I haven't used "syb_output_params", so I can't comment on that.
Below is a generic processing code snippet, without any error
checks.
$sql = 'sp_help';
$sth = $dbh->prepare($sql);
$sth->execute;
do {
while (@row = $sth->fetchrow) {
# Process row
}
} while ($sth->{syb_more_results});
Hope that helps,
Mark
--
Mark J. Schaal Phone: (909) 620-7724
TST On Ramp Fax: (909) 620-8174
System Administrator E-Mail: mark AT tstonramp.com
- Re: Use Stored procedures in DBD::Sybase/FreeTDS/MS -SQL7.0, Mark Schaal, 05/30/2000
Archive powered by MHonArc 2.6.24.