Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #14924
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <alec.taylor6@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'oct': 0.02; 'python.': 0.04; 'context': 0.04; 'subject:Python': 0.06; 'python': 0.08; 'executed': 0.09; 'i.e.,': 0.09; 'suggestions,': 0.09; '25,': 0.12; 'am,': 0.12; 'stored': 0.13; '"client': 0.16; 'alain': 0.16; 'db)': 0.16; 'from:addr:alec.taylor6': 0.16; 'from:name:alec taylor': 0.16; 'function?': 0.16; 'java.': 0.16; 'oracle.': 0.16; 'postgresql)': 0.16; 'sense:': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.16; 'meant': 0.17; 'received:74.125.82.44': 0.17; 'received:mail-ww0-f44.google.com': 0.17; 'cc:no real name:2**0': 0.20; "doesn't": 0.22; 'cc:2**0': 0.22; 'header:In-Reply-To:1': 0.22; 'tue,': 0.23; 'besides': 0.24; 'libraries': 0.24; 'code': 0.25; 'writes:': 0.25; 'code,': 0.28; 'url:mailman': 0.28; 'oracle': 0.29; 'message-id:@mail.gmail.com': 0.29; 'cc:addr:python.org': 0.30; 'thanks': 0.30; 'shows': 0.32; "can't": 0.33; 'there': 0.33; 'url:listinfo': 0.33; 'subject:/': 0.34; 'replacement': 0.34; 'speaking': 0.35; '(for': 0.35; 'url:python': 0.36; 'page': 0.37; 'received:74.125.82': 0.38; 'received:google.com': 0.38; 'url:org': 0.38; 'subject:: ': 0.39; 'client': 0.39; 'else': 0.39; 'received:74.125': 0.39; 'procedures': 0.64; 'taylor': 0.67; 'hmm...': 0.84; 'subject:SQL': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/ANuwHRVU5KPXspnoEUQZGS1AW0qWosyTiTCdbiJE8Q=; b=hSF4M+zp9C20D7yl0I7Iy7GdJB16rC847qZJaNUKvKnbJztaL02VOIE09Wh7S3DL+r PMFnhWXdNS57zOmCk3y85bZgkGU+5X2vVtrIrNW1s/b7+WRhGUdxqTfPRbqnmiWVebMd wIka7uSA9GwctcunL3OSZtDQm5PtsSlPNZSo4= |
| MIME-Version | 1.0 |
| In-Reply-To | <87bot6sb2j.fsf@dpt-info.u-strasbg.fr> |
| References | <mailman.2176.1319463553.27778.python-list@python.org> <87bot6sb2j.fsf@dpt-info.u-strasbg.fr> |
| Date | Tue, 25 Oct 2011 01:59:07 +1100 |
| Subject | Re: Python as a replacement to PL/SQL |
| From | Alec Taylor <alec.taylor6@gmail.com> |
| To | Alain Ketterlin <alain@dpt-info.u-strasbg.fr> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2180.1319468349.27778.python-list@python.org> (permalink) |
| Lines | 36 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1319468349 news.xs4all.nl 6951 [2001:888:2000:d::a6]:37881 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:14924 |
Show key headers only | View raw
Hmm... What else is there besides PL/Python (for any DB) in the context of writing stored procedures in function? Thanks for all suggestions, Alec Taylor On Tue, Oct 25, 2011 at 1:45 AM, Alain Ketterlin <alain@dpt-info.u-strasbg.fr> wrote: > Alec Taylor <alec.taylor6@gmail.com> writes: > >> Is there a set of libraries for python which can be used as a complete >> replacement to PL/SQL? > > This doesn't make much sense: PL/SQL lets you write server-side code, > i.e., executed by the DBMS. Oracle can't execute python code directly, > so python can only be used on the client side (I meant "client of the > DBMS"), i.e., not to write stored procedures. There is no "complete > replacement" of PL/SQL besides Java. > > This page shows you how to _call_ PL/SQL procedures from a python script: > > http://www.oracle.com/technetwork/articles/dsl/python-091105.html > >> (I am speaking from the context of Oracle DB, PL/Python only works >> with PostgreSQL) > > PL/Python is a different beast, it lets you write stored functions in > python. There is no such thing, afaik, with Oracle. > > -- Alain. > -- > http://mail.python.org/mailman/listinfo/python-list >
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python as a replacement to PL/SQL Alec Taylor <alec.taylor6@gmail.com> - 2011-10-25 00:39 +1100
Re: Python as a replacement to PL/SQL Alain Ketterlin <alain@dpt-info.u-strasbg.fr> - 2011-10-24 16:45 +0200
Re: Python as a replacement to PL/SQL Alec Taylor <alec.taylor6@gmail.com> - 2011-10-25 01:59 +1100
Re: Python as a replacement to PL/SQL Ben Finney <ben+python@benfinney.id.au> - 2011-10-25 08:36 +1100
Re: Python as a replacement to PL/SQL Martin Komoň <M.Komon@SiliconHill.cz> - 2011-10-24 18:37 +0200
csiph-web