Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much


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.

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

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-22 16:18 GMT
Find Nodes?
    Voting Booth?

    No recent polls found