How-to articles, tricks, and solutions about ZEND-DB
How to print exact sql query in zend framework ?
In Zend Framework, you can use the Zend_Db_Select object's __toString() method to print the exact SQL query that will be executed.