develooper Front page | perl.beginners | Postings from February 2002

RE: ODBC

Thread Previous
From:
Sean O'Leary
Date:
February 12, 2002 12:08
Subject:
RE: ODBC
Message ID:
5.1.0.14.0.20020212145528.00ade338@pop.erols.com
At 01:41 PM 2/12/2002, you wrote:
>I know there is a Win32::ODBC module, and I think there is a DBI::ODBC?

Well, there's DBD::ODBC.

DBI is the independent interface, that is, independent of any particular 
database.  On the back end of that, DBD::* modules plug in to provide 
functionality for each specific database.  To see what DBD's are available, 
you could look here:

http://search.cpan.org/search?mode=module&query=DBD

Hey... there was a new version of DBD::ODBC released 2 days ago!  :)

But the beauty of it is, you spend all of your time talking to DBI, and 
don't have to worry about dealing with a different interface to each 
database.  You just have to worry about data source names and SQL dialects, 
but hey, who said life was fair.

Hope this helps,

Sean.


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About