in reply to Re: DBI - validate SQL without executing
in thread DBI - validate SQL without executing

That is the approach that I was using, until someone pointed out that at least with some versions/database types of MySQL, that fails precisely because of the transaction issue. That was one motivator for my question; the other was that some of the statements can be significant resource hogs, so it would be better to hold off executing them until they're actually needed.
  • Comment on Re^2: DBI - validate SQL without executing