In MS SQL Server you can use the Profiler tool to do this. In a nutshell it shows information on all statements executed on a specified database. Usually you would set up a series of filters to specify the specify types of statements, users, ect. you wish the profiler to track so you are not overwhelmed by a huge list of items.
There are similar tools for other databases as well.
Note: the Profiler in SQL Server is a separate application, i.e., it is not part of PowerBuilder.
Messagebox ('SQLPreview', sqlsyntax)
END IF
Thanks, using Oracle 12, Appeon 2017 B1681, home grown IFC. Now how do I see all the data values in the arguments like id = :1 and field2 = :2 and so on up to :15?
You can even use PB's SQL Trace facility for even better SQL tracing ... with no added coding, as follows:
For example:
SQLCA.DBMS = "TRACE XXX" // where XXX is you App's connection mechanism
HTH
Regards . .. Chris