DB API question - where is a stored procedure's return value?

Petite Abeille petite.abeille at gmail.com
Wed Mar 12 19:11:09 EDT 2014


On Mar 13, 2014, at 12:00 AM, Ian Kelly <ian.g.kelly at gmail.com> wrote:

> As a general solution, one might wrap a stored procedure that returns
> a value into a stored procedure that has an output parameter and call
> it with callproc.  Some implementations might include a return value
> in the parameter list anyway.

Alternatively… if it’s really a function… wrap it in a select statement… such as:

select foo() as value from dual




More information about the Python-list mailing list