SQL statements generated by Database classes

Is there any way to log the SQL statements that are generated from the Database classes like DatabaseRecord (InsertRecord function) and RecordSet.Update function? Thanks!

Think we’d better write our own SQL for inserting and updating, rather than using the recordset methods.

Write your own SQL as Joost suggested… and use PREPARED STATEMENTS

The answer is no.
Except your database server logs them for you.

OK thanks guys :slight_smile: