Statement logging in Interactive SQL

With the Interactive SQL logging feature, you can record SQL statements as you execute them. Interactive SQL continues to
record statements until you stop the logging process, or until you end the current session. The recorded statements are stored
in a log file so you can use the statements again.

Once you start logging, all SQL statements that you try to execute are logged, including ones that do not execute properly.