http://www.perlmonks.org?node_id=657738


in reply to Pretty printing the exact query (with bind variables) executed by DBI?

Take a look at http://search.cpan.org/~timb/DBI/DBI.pm#TRACING, or switch on logging in the database itself.

Best wishes, andye