2.3.1 One-time invocation
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog ODBC Interface
        • The ODBC layer
          • Running SQL queries
            • One-time invocation
              • odbc_query/3
              • odbc_query/4
              • odbc_query/2
Availability::- use_module(library(odbc)).(can be autoloaded)
Sourceodbc_query(+Connection, +SQL)
As odbc_query/3, but used for SQL-statements that should not return result-rows (i.e. all statements except for SELECT). The predicate prints a diagnostic message if the query returns a result.