returns a list of the open SQLConnection objects.
Details and Options
Examples
Basic Examples
See Also
Tech Notes
Related Guides
DatabaseLink`
DatabaseLink`
SQLConnections
returns a list of the open SQLConnection objects.
Details and Options
- To use SQLConnections, you first need to load DatabaseLink using Needs["DatabaseLink`"].
Examples
Basic Examples (1)
Needs["DatabaseLink`"]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.
conn1 = OpenSQLConnection["demo"];conn2 = OpenSQLConnection["publisher"];SQLConnections[]CloseSQLConnection[conn1];CloseSQLConnection[conn2];