Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68331

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

From John Gordon <gordon@panix.com>
Newsgroups comp.lang.python
Subject Re: DB API question - where is a stored procedure's return value?
Date 2014-03-13 14:43 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <lfsg5p$e1a$1@reader1.panix.com> (permalink)
References <CANc-5Uz98mTCjUuk_yOHqWeZRwp6JnTCagTQ=bzobhtWAceKxg@mail.gmail.com> <CALwzidm0GJ37JTjUUGPPgEXnZoh0ck08B7i2H4SZXXD1VyDcbA@mail.gmail.com> <mailman.8114.1394666303.18130.python-list@python.org>

Show all headers | View raw


In <mailman.8114.1394666303.18130.python-list@python.org> Petite Abeille <petite.abeille@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@panix.com    watch 'House', or a real serial killer to watch 'Dexter'.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: DB API question - where is a stored procedure's return value? Petite Abeille <petite.abeille@gmail.com> - 2014-03-13 00:11 +0100
  Re: DB API question - where is a stored procedure's return value? John Gordon <gordon@panix.com> - 2014-03-13 14:43 +0000
    Re: DB API question - where is a stored procedure's return value? Skip Montanaro <skip@pobox.com> - 2014-03-13 10:14 -0500
    Re: DB API question - where is a stored procedure's return value? Chris Angelico <rosuav@gmail.com> - 2014-03-14 04:01 +1100
    Re: DB API question - where is a stored procedure's return value? random832@fastmail.us - 2014-03-13 13:22 -0400
    Re: DB API question - where is a stored procedure's return value? Chris Angelico <rosuav@gmail.com> - 2014-03-14 04:32 +1100

csiph-web