Calling Python Script from an SQL Proceudre

Kushal Kumaran kushal at locationd.net
Wed Jun 3 06:38:01 EDT 2015


Amit Goutham <agn.91.91 at 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



More information about the Python-list mailing list