Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: getting the sql executed from a parameterised statement

by wallisds (Beadle)
on Dec 01, 2010 at 23:06 UTC ( #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? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2023-02-06 06:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (33 votes). Check out past polls.

    Notices?