Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'cc:addr:python-list': 0.10; 'python': 0.11; 'wed,': 0.15; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:89.233': 0.16; 'received:89.233.217': 0.16; 'received:89.233.217.133': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'laura': 0.18; 'all,': 0.20; 'cc:addr:python.org': 0.21; 'trying': 0.22; 'cc:2**1': 0.22; '2015': 0.23; 'appreciated': 0.23; 'header :In-Reply-To:1': 0.24; 'script': 0.25; 'received:se': 0.29; 'servers.': 0.29; 'cc:no real name:2**1': 0.29; 'certainly': 0.31; 'skip:> 10': 0.35; 'url:org': 0.36; 'subject:: ': 0.37; 'charset :us-ascii': 0.37; 'url:docs': 0.39; 'header:Message-Id:1': 0.62; 'information': 0.62; 'internet': 0.69; '>from': 0.76; 'received:89': 0.80; 'amit': 0.84; 'round.': 0.84; 'subject:SQL': 0.84 To: Amit Goutham cc: python-list@python.org, lac@openend.se From: Laura Creighton Subject: Re: Calling Python Script from an SQL Proceudre In-Reply-To: Message from Amit Goutham of "Wed, 03 Jun 2015 15:17:16 +0530." References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3037.1433347999.1@fido> Date: Wed, 03 Jun 2015 18:13:19 +0200 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Wed, 03 Jun 2015 18:13:23 +0200 (CEST) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1433348018 news.xs4all.nl 2902 [2001:888:2000:d::a6]:40882 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:91973 In a message of Wed, 03 Jun 2015 15:17:16 +0530, Amit Goutham 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 > >-- >Thanks and Regards, >Amit Goutham >Ph:+91-8867801035 You certainly can with postgreql, see http://www.postgresql.org/docs/current/static/plpython.html I don't know about other SQL servers. Laura