SQLConnectionPoolClose[pool]
closes a connection pool.
Details and Options
Examples
Basic Examples
See Also
Tech Notes
Related Guides
DatabaseLink`
DatabaseLink`
SQLConnectionPoolClose
SQLConnectionPoolClose[pool]
closes a connection pool.
Details and Options
- To use SQLConnectionPoolClose, you first need to load DatabaseLink using Needs["DatabaseLink`"].
- Closing a connection pool closes any connections opened from the pool.
Examples
Basic Examples (1)
Needs["DatabaseLink`"]conn = OpenSQLConnection["publisher", UseConnectionPool -> True]The connection pool used to connect to the database:
pool = SQLConnectionPools[conn]Close the connection pool and any associated connections:
SQLConnectionPoolClose[pool]