Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: ODBC vs DBI

by thabenksta (Pilgrim)
on May 03, 2001 at 00:06 UTC ( [id://77491]=note: print w/replies, xml ) Need Help??


in reply to ODBC vs DBI

I had used Win32::ODBC; on NT machines for a while. It always worked fine for me. Then I had to start using DBI, cause of a new job. While I think Win32::ODBC was easier to learn, once I learned DBI, it made it easier to deal with more complicated tasks. Plus if you ever have to move the application to a *nix machine you wont have to re-code your database programs.

Another benifit of DBI is that it is much more widely supported, which means more people will be able to help you out of a jam.

So if you feel more comfortable with ODBC, then stick with it, but I, and prolly most eveyone here would recomend learn DBI.

To answer you question more directly, Yes, you can make DBI use the ODBC(seperate from Win32::ODBC) interface to get to an Access DB on NT.

-thabenksta
my $name = 'Ben Kittrell'; $name=~s/^(.+)\s(.).+$/\L$1$2/g; my $nick = 'tha' . $name . 'sta';

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://77491]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2024-03-28 09:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found