DatabaseLink`
DatabaseLink`

SQLConnectionPool

SQLConnectionPool[]

is an object that represents a connection pool to a data source.

更多信息和选项

范例

基本范例  (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 connection:

The connection pool used to connect to the data source:

Set an option dynamically on the pool:

Close the pool and associated connections: