cnxpeakstatements()

returns to peak number of simultaneous SQL Statements (high water mark) active on the data server (includes JDBC server).

 

Example:

SELECT cnxpeakstatements()