Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Answer: How can I talk to an Access database using perl?

by btrott (Parson)
on Apr 14, 2000 at 06:31 UTC ( #7586=categorized answer: print w/replies, xml ) Need Help??

Q&A > database programming > How can I talk to an Access database using perl? - Answer contributed by btrott

You can use DBD::ODBC, which is a database driver for DBI:
my $dbh = DBI->connect('dbi:ODBC:DSN', 'user', 'password');
And, I presume, you just use $dbh just as you would for any other database driver.

Or you could use Win32::ODBC:

my $Data = new Win32::ODBC("MyDSN"); $Data->Sql(SQL);

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2020-10-23 22:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (241 votes). Check out past polls.

    Notices?