First page Back Continue Last page Overview Graphics
Caching SQL
Some DBD modules, including MySQL, allow caching of SQL statements
Use $dbh->prepare_cached instead of $dbh->prepare
This is safe to use even if cached SQL statements aren’t used more than once