PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

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