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


in reply to Re: DBI query where table name is a variable
in thread DBI query where table name is a variable

Usually if you call $sth->trace( 2 ) (alternately call trace on your $dbh to enable tracing for all statement handles subsequently created) you should get a glimpse at the SQL that's being sent to the backend.