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: "Wang, Jian (RSCH)" <JiWang20 at exchange dot ml dot com>
Subject: RE: return value from a stored proc
Date: Aug 29 2001 3:36PM

Not sure if this went out successfully ...



> Hi:
> 
> How do I get a returned value from a stored proc in Perl,
> Not the returned code of dbproc->dbsqlexec() as it looks
> like always return 1 unless the function itself has an error?
> 
> e.g.
> create proc abc
> as
> 
> ... ...
> 
> if ( ........ )
> 	return 456
> else
> 	return 123
> 
> 
> How do I get 123/456?
> 
> Thanks.
> 
> Jian
> 
>