Below is my odbc test code:
[CODE=perl]use strict;
use DBI;
use DBD::ODBC;
print $DBD::ODBC::VER SION;
my $dbh = DBI-> connect('dbi:OD BC:Luke');[/CODE]...
User Profile
Collapse
-
-
I downloaded the ppd files from the office and install it at home. Since I don't have internet at home. I might be missing some dependcies because as much as dbd-odbc installed I still can't use it. I got this error:
DBD::ODBC initialisation failed: Can't locate object method "driver" via package
"DBD::ODBC" at C:/Perl/lib/DBI.pm line 782.
Perhaps the capitalisation of DBD 'ODBC' isn't right....Leave a comment:
-
Thanks for your reply. I finally was able to install it. I simply tried installing all available packages and finally was able to install it using DBD-ODBC-1.11. I still need to test it though if it really works.
I got the it from here: http://ppm4.activestat e.com/PPMPackages/zips...Leave a comment:
-
how to install DBD:ODBC on Windows XP
I just installed ActivePerl-5.8.8.822 & downloaded DBD-ODBC. Did this on Windows XP:
ppm install DBD-ODBC.ppd
got this:
ppm install failed: Can't find any package that provide DBI version 1.21 for DB-ODBC
~~~
I'm a perl newbie. I'll be glad if someone could help on this. I am now trying to use Perl to migrate some data.
Regards,
Arlie
No activity results to display
Show More
Leave a comment: