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: setting syb_show_sql
Date: May 7 1999 2:22PM

Adam Witney writes:
 > Hi,
 > 
 > i am trying to set syb_show_sql, the Sybase.pm POD says to set it at the
 > database handle level, but i am not sure how to do this. Could someone
 > point me in the right direction?

(this is DBI/DBD::Sybase, so sybperl users shoudn't be surprised if
this doesn't work :-)

$dbh->{syb_show_sql} = 1;

$sth = $dbh->prepare(...);

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