Help for this page

Select Code to Download


  1. or download this
    my $dbh=DBI->connect("dbi:ODBC:Server=$srvr; UID=$usr;PWD=$pwd");
    
  2. or download this
    $DSN= 'dbi:DriverName:database=$db;host=$host;port=$port;'
    my $dbh=DBI->connect($DSN);
    
  3. or download this
    DBI connect('variansystem; Server=10.1
    75.68.28; UID='reports';PWD='reports'','',...) failed: [Microsoft][ODB
    +C Driver M
    anager] Data source name not found and no default driver specified (SQ
    +L-IM002) a
    t C:/Users/rpuser/Documents/RTDS/RTDS_include.pl line 232.
    
  4. or download this
    install_driver(DriverName) failed: Can
    't locate DBD/DriverName.pm in @INC (you may need to install the DBD::
    +DriverName
     module) (@INC contains: C:/Strawberry/perl/site/lib C:/Strawberry/per
    +l/vendor/l
    ib C:/Strawberry/perl/lib .) at (eval 16) line 3.