can you give an example of the SQL statement you are trying to run?
It will probably need to be hand coded, but our library can still help.
at this time, only recordset statements can be displayed using:
<?php echo($recordsetName->debugSQL()); ?>
where recordsetName is the name of the recordset. Displaying the insert / update / delete statements is not supported. we are looking to add this as a feature in the next version.