in reply to Connect to MS Access w/o ODBC, DSN, from Win32
DBD::ODBC (alt.) has supported DSN-less connections for awhile.
From the POD...
Connect without DSN
The ability to connect without a full DSN is introduced in version 0.21. Example (using MS Access):my $DSN = 'driver=Microsoft Access Driver(*.mdb);dbq=\\\\cheese\\g$\\p +erltest.mdb'; my $dbh = DBI->connect("dbi:ODBC:$DSN", '','') or die "$DBI::errstr\n" +;
--k.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Connect to MS Access w/o ODBC, DSN, from Win32
by chiller (Scribe) on Dec 13, 2001 at 02:43 UTC |