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


in reply to DBI and placeholders, see resulting query?

Neither DBI, the DBD or even the driver actually produce some SQL with your parameters magically inserted. Mostly the SQL is passed to the database with parameter markers and parsed then the parameters are sent seperately.

You can find your parameter values from ParamValues. You might want to take a look at DBIx::Log4perl or DBIx::LogAny as both of those can output this info and even if you don't use them you can see how they do it.

  • Comment on Re: DBI and placeholders, see resulting query?