DatabaseLink`
DatabaseLink`

SQLConnectionPool

SQLConnectionPool[]

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

Details

Examples

Basic Examples  (1)

In[1]:=
Click for copyable input

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:

In[2]:=
Click for copyable input
Out[2]=

The connection pool used to connect to the data source:

In[3]:=
Click for copyable input
Out[3]=

Set an option dynamically on the pool:

In[4]:=
Click for copyable input
Out[4]=

Close the pool and associated connections:

In[5]:=
Click for copyable input

See Also

OpenSQLConnection  SQLConnectionPools

Tutorials