Hi, blackadder
have you read the documents Win32::ODBC?
As has already been said, it's $dbh->Sql($statement) not $dbh->sql() and it does not return an arrayref... it returns undef upon success!$sql="select * from foo"; if($db->Sql($sql)) { warn "i failed: " . $db->Error(); }else{ print "read the documentation on FetchRow(), Data() and DataHash() +\n"; }
HTH - Mark
In reply to Re^4: Extracting data from an Ms ACCESS query
by maa
in thread Extracting data from an Ms ACCESS query
by blackadder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |