Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
If i use a parameterised query such as the one shown below, how do i get the actual sql that the db engine failed to execute?
many thanksmy $update_meta_sql = "update runmeta set known_snps=? where run_id=?" +; unless ($db->do($update_meta_sql, undef, $updates, $run_id)) { $status = "failed at update runmeta"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: getting the sql executed from a parameterised statement
by wallisds (Beadle) on Dec 01, 2010 at 23:06 UTC |