CloseSQLConnection[conn]
releases the connection
, returning the list of remaining active connections.
更多信息和选项
范例
基本范例
参见
技术笔记
相关指南
DatabaseLink`
DatabaseLink`
CloseSQLConnection
CloseSQLConnection[conn]
releases the connection
, returning the list of remaining active connections.
更多信息和选项
- To use CloseSQLConnection, you first need to load DatabaseLink using Needs["DatabaseLink`"].
范例
基本范例 (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.
conn = OpenSQLConnection["demo"];CloseSQLConnection[conn]