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
>
>
|