in reply to Re: Debugging DBI placeholders
in thread Debugging DBI placeholders
Thanks for the suggestion, but I don't see it helping me. Trace revealed my problem because it included output from the connection command, revealing where my immediate problem was. While your code would be better for some things (trace gives the prepare and execute information on two lines while I would really prefer a single combined exposition), I can't see how it would handle the insert query I included in my OP. I'm not good enough at Perl or SQL to build a full SQL parser that would cover all queries without being another possible point of failure that would have to be investigated when next I foul up.
Regards,
John Davies
Update, in case anyone reads this while in search of a similar solution. Increasing the trace level DOES produce the full query, but it also makes the trace information more verbose.
|
|---|