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


Groups > comp.lang.python > #68338

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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.010
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'duplicate': 0.07; 'postgresql': 0.07; 'table.': 0.07; 'rows,': 0.09; 'yeah,': 0.09; 'subject:question': 0.10; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'removed,': 0.16; 'subject:API': 0.16; 'subject:where': 0.16; 'wrote:': 0.18; 'select': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'usually': 0.31; 'fri,': 0.33; 'actual': 0.34; 'but': 0.35; 'received:google.com': 0.35; '14,': 0.36; 'oracle': 0.36; 'doing': 0.36; 'subject:?': 0.36; 'two': 0.37; 'either': 0.39; 'most': 0.60; 'name': 0.63; 'real': 0.63; 'mar': 0.68; 'results': 0.69; 'to:none': 0.92; 'from.': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=WUEvtshYLiVc7n/xudJJWZhv7t3qv3gVZ3bXVhAbm9g=; b=rkIbkOx7Eb5V50w5qmWumJjMtEKm21xU9iwF0nxf9U+dIbd+KbROe6UmggFfjTuzh+ E60AIg3CnTuEecbc4HFhBYN48/KmDDXUOaBIW2p5CHcVuiJm4A1t3u7vay4z6FNs9m+E EUwps3jgSlwvX76gB7/H0QeXyZUXsSnY1gkuDN9iHEuI5piF4JsPaqI72n5T50OYb//D 4PQFEMdVVp9ouSiUSOqqdzb5/s5ESPZ4WAanBvqLFLPXpvw5pCP4VQRw2bc0fTXQXa3I ArGgmDJcFo6ZB3zV+FIYYJs0gXTrdb4lXdksv7nOzhuB8lSJRbf38m5dAzXg/217F5NZ mOlw==
MIME-Version 1.0
X-Received by 10.66.118.71 with SMTP id kk7mr3910759pab.14.1394731959948; Thu, 13 Mar 2014 10:32:39 -0700 (PDT)
In-Reply-To <1394731328.29875.94134461.087FF85B@webmail.messagingengine.com>
References <CANc-5Uz98mTCjUuk_yOHqWeZRwp6JnTCagTQ=bzobhtWAceKxg@mail.gmail.com> <CALwzidm0GJ37JTjUUGPPgEXnZoh0ck08B7i2H4SZXXD1VyDcbA@mail.gmail.com> <mailman.8114.1394666303.18130.python-list@python.org> <lfsg5p$e1a$1@reader1.panix.com> <CAPTjJmqRgUGp=X5O_1pnJhK0=raZj7ALUg0DVsfhuCc0AcexuA@mail.gmail.com> <1394731328.29875.94134461.087FF85B@webmail.messagingengine.com>
Date Fri, 14 Mar 2014 04:32:39 +1100
Subject Re: DB API question - where is a stored procedure's return value?
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.8132.1394731969.18130.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1394731969 news.xs4all.nl 2851 [2001:888:2000:d::a6]:38659
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:68338

Show key headers only | View raw


On Fri, Mar 14, 2014 at 4:22 AM,  <random832@fastmail.us> wrote:
> DUAL is an Oracle thing. It used to have two rows, in order to be used
> to duplicate results by doing a cartesian join to it. At some point,
> that was removed, but the name stuck.
>
> Most other servers allow SELECT without FROM.

Yeah, I usually use PostgreSQL which does. I don't remember what DB2
has. MySQL I think requires either DUAL or an actual real table.

ChrisA

Back to comp.lang.python | Previous | NextPrevious 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