User Profile

Collapse

Profile Sidebar

Collapse
arlie
arlie
Last Activity: Apr 4 '08, 12:07 AM
Joined: Apr 1 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • arlie
    replied to how to install DBD:ODBC on Windows XP
    in Perl
    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]...
    See more | Go to post
    Last edited by eWish; Apr 4 '08, 02:59 AM. Reason: Please use code tags

    Leave a comment:


  • arlie
    replied to how to install DBD:ODBC on Windows XP
    in Perl
    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....
    See more | Go to post

    Leave a comment:


  • arlie
    replied to how to install DBD:ODBC on Windows XP
    in Perl
    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...
    See more | Go to post

    Leave a comment:


  • arlie
    started a topic how to install DBD:ODBC on Windows XP
    in Perl

    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
    See more | Go to post
No activity results to display
Show More
Working...