Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Perl

RE: Perl

From: Glenn Stauffer <stauffer_at_swarthmore.edu>
Date: Wed, 29 Jan 2003 07:34:14 -0800
Message-ID: <F001.0053D507.20030129073414@fatcity.com>


On Wed, 2003-01-29 at 09:04, Jamadagni, Rajendra wrote:
> Okay ... a question from a colleague ...
>
> How do you get python to work with Oracle ... for perl there DBD: and
> DBI: anything similar in Python? My knowledge of Perl is as good as
> my knowledge of Python ... /dev/null
>

Python defines a database API specification (currently DB-API 2.0) and module writers provide various database adapters which implement this API. You can find out more about this at:

http://www.python.org/topics/database/

There are currently two Oracle database adapters in common use:

DCOracle2 from the Zope Community: http://www.zope.org/Members/matt/dco2

cx_Oracle from Computronix: http://www.computronix.com/utilities.shtml

Since the DB-API defines the methods that a database adapter implements, they both provide the same functionality at the basic connect/query/retrieve results level. There aren't any differences between these two adapters that I've noticed in my work.

> --
> Glenn Stauffer
> Swarthmore College
> Swarthmore, PA

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Glenn Stauffer
  INET: stauffer_at_swarthmore.edu

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Jan 29 2003 - 09:34:14 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US