How to get the SQL that Perl’s DBI is running

It seems to be a question that comes up fairly often, and it is pretty easy:

$dbh->{TraceLevel} = "SQL";

Leave a Reply