2.6 Getting more information
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog ODBC Interface
        • The ODBC layer
          • Getting more information
            • odbc_statistics/1
            • odbc_debug/1
Availability::- use_module(library(odbc)).(can be autoloaded)
Sourceodbc_statistics(?Key)
Get statistical data on the ODBC interface. Currently defined keys are:
statements(Created, Freed)
Number of SQL statements that have been Created and Freed over all connections. Statements executed with odbc_query/[2-3] increment Created as the query is created and Freed if the query is terminated due to deterministic success, failure, cut or exception. Statements created with odbc_prepare/[4-5] are freed by odbc_free_statement/1 or due to a fatal error with the statement.