Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: dbsetopt in DBD::Sybase
Date: Jun 21 1999 11:38PM
Rick Nicoletti writes:
> Hi all, I was wondering if anyone knew how to turn on statistics
> io in DBD::Sybase.
> For instance, using Sybase::DBlib I can turn on statistics io by:
> $dbh->dbsetopt(&DBSTAT, "IO");
> and then capture the text in the message handler.
> I'd like to turn on statistics io using DBI/DBD::Sybase (and capture
> the statistics text separately from normal row data), but I can't
> figure out how. I tried:
> $dbi_handle->do("set statistics io on");
> but that seemed to confuse later fetches.
Hmmm.. That should work.
What sort of problems are you seeing when you use the do() method for
Michael Peppler -||- Data Migrations Inc.
email@example.com -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: firstname.lastname@example.org