Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: getting the sql executed from a parameterised statement

by wallisds (Beadle)
on Dec 01, 2010 at 23:06 UTC ( [id://874778]=note: print w/replies, xml ) Need Help??


in reply to getting the sql executed from a parameterised statement

I think getting the sql is driver specific, but try adding $db->errstr:

unless ($db->do($update_meta_sql, undef, $updates, $run_id)) { $status = "failed at update runmeta: ". $db->errstr; }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2024-04-23 12:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found