freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] how to make print statements of a stored procedure displayed in perl/dbi program
- From: Michael Peppler <mpeppler AT peppler.org>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] how to make print statements of a stored procedure displayed in perl/dbi program
- Date: Sun, 24 Jul 2011 07:32:46 +0200
On Jul 24, 2011, at 1:39 AM, Ravi Krishna wrote:
>
> Is there a way to print any print statements inside a sproc displayed back
> in the perl program.
Yes - look at setting up an error handler. In DBD::Sybase, that's the
syb_err_handler connection attribute.
See
http://search.cpan.org/~mewp/DBD-Sybase-1.10/Sybase.pm#Database_Handle_Attributes
for an example.
Michael
--
Michael Peppler
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html
"A successful [software] tool is one that was used to do something undreamed
of by its author." -- S. C. Johnson
-
[freetds] how to make print statements of a stored procedure displayed in perl/dbi program,
Ravi Krishna, 07/23/2011
- Re: [freetds] how to make print statements of a stored procedure displayed in perl/dbi program, Michael Peppler, 07/24/2011
Archive powered by MHonArc 2.6.24.