sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: DBlib phased out?
Date: Mar 8 2000 3:15PM
Arthur Goldstein writes:
> The key reason I used db-lib over ct-lib was that db-lib stored the
> buffer that could show what sql was being sent to the database. I
> could not figure out a way to do that in ct-lib. Does ct-lib have
> a method for that?
No.
You could handle this on the client by overloading the ct_command()
and/or ct_execute() calls to store the command buffer in the $dbh for
later retrieval.
(and maybe Sybase::CTlib could be modified to do this for you...)
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
|