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

John Gordon gordon at panix.com
Thu Mar 13 15:43:05 CET 2014


In <mailman.8114.1394666303.18130.python-list at python.org> Petite Abeille <petite.abeille at gmail.com> writes:


> Alternatively=85 if it=92s really a function=85 wrap it in a select =
> statement=85 such as:

> select foo() as value from dual

That will get the return value into an SQL variable, but the OP wanted
to know how to fetch it from python code.

-- 
John Gordon         Imagine what it must be like for a real medical doctor to
gordon at panix.com    watch 'House', or a real serial killer to watch 'Dexter'.




More information about the Python-list mailing list