Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^4: Extracting data from an Ms ACCESS query

by maa (Pilgrim)
on Jun 11, 2004 at 12:45 UTC ( [id://363396]=note: print w/replies, xml ) Need Help??

in reply to Re^3: Extracting data from an Ms ACCESS query
in thread Extracting data from an Ms ACCESS query

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

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://363396]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-23 00:44 GMT
Find Nodes?
    Voting Booth?

    No recent polls found