DatabaseLink`
DatabaseLink`

CloseSQLConnection

CloseSQLConnection[conn]

releases the connection conn, returning the list of remaining active connections.

Details and Options

  • To use CloseSQLConnection, you first need to load DatabaseLink using Needs["DatabaseLink`"].

Examples

Basic Examples  (1)

If you find that the examples in this section do not work as shown, you may need to install or restore the example database with the "DatabaseLink`DatabaseExamples`" package, as described in Using the Example Databases.

Open a database connection:

Close the connection: