UPDATE: This plugin has been replaced by the plugin that comes with the SQL Yoga distribution.
SQL Yoga automatically generates SQL for you so you don’t have to worry about it. Sometimes, however, it can be helpful to see the SQL that is being generated. Database objects have a couple of properties that can automatically log all generated SQL to a field or file.
The SQL Yoga Log Field plugin is simply a stack that registers a field as the field to log all statements to. When you want to see the SQL being generated by the default Database object simply open it from the plugins menu. When you are done just close it and all logging will stop.
Download: http://bluemangolearning.com/download/revolution/plugins/SqlYogaLogField.zip