Help for this page

Select Code to Download


  1. or download this
    DBI->connect(test) failed: [Microsoft][ODBC SQL Server Driver][SQL Ser
    +ver]Login
    failed for user 'HASH(0x1a7f0ec)'. (SQL-28000)(DBD: db_login/SQLConnec
    +t err=-1)
    at test_database.pl line 6
    
  2. or download this
    my $dbh = DBI->connect("dbi:ODBC:test", 
    { 'AutoCommit' =>1, 'RaiseError' =>1}) || die "Error connecting: '$DBI
    +::errstr'"; 
    ...
    if (@$rows){
        foreach my $row(@$rows){ print "@$row\t\n";}}
         else {print "No matches found";}