2.2 Connection management
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog ODBC Interface
        • The ODBC layer
          • Connection management
            • odbc_connect/3
            • odbc_driver_connect/3
            • odbc_disconnect/1
            • odbc_current_connection/2
            • odbc_set_connection/2
            • odbc_get_connection/2
            • odbc_data_source/2
Availability::- use_module(library(odbc)).(can be autoloaded)
Sourceodbc_data_source(?DSN, ?Description)
Query the defined data sources. It is not required to have any open connections before calling this predicate. DSN is the name of the data source as required by odbc_connect/3. Description is the name of the driver. The driver name may be used to tailor the SQL statements used on the database. Unfortunately this name depends on the local installing details and is therefore not universally useful.