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


Groups > comp.lang.python > #91940

Re: Calling Python Script from an SQL Proceudre

From Kushal Kumaran <kushal@locationd.net>
Subject Re: Calling Python Script from an SQL Proceudre
References <CAJ5KB9jsYR0E+chPonkGAFkt1ihW0FSJ_3s0YXF_XRj7wmDMrw@mail.gmail.com>
Date 2015-06-03 16:08 +0530
Newsgroups comp.lang.python
Message-ID <mailman.98.1433328007.13271.python-list@python.org> (permalink)

Show all headers | View raw


Amit Goutham <agn.91.91@gmail.com> writes:

> Hi All,
> I am trying to search on the Internet if i can call a Python Script from an
> SQL Procedure.
> All the information found on Internet is about connecting to a database
> from Python through a Python script.But, i want the other way round.
>
> Any Help will be appreciated
>

Which database are you using?

This is how to do it in postgresql, for example:
http://www.postgresql.org/docs/current/static/plpython.html

-- 
regards,
kushal

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


Thread

Re: Calling Python Script from an SQL Proceudre Kushal Kumaran <kushal@locationd.net> - 2015-06-03 16:08 +0530

csiph-web