in reply to DBI + Bind

This will depend on the DBD driver you use (although andye's suggestion to use DBI->trace() is a good one).

I can tell you that for DBD::Sybase there is no way to get the SQL statement with the bound values, as that happens in the server (you could get that information at the server level by turning on auditing, but that's a whole different story).

Michael