DatabaseLink`
DatabaseLink`
SQLResultSetClose
closes a result set.
更多信息和选项
- To use SQLResultSetClose, 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["publisher"];rs = SQLResultSetOpen[SQLSelect[conn, "roysched"]];SQLResultSetClose[rs]CloseSQLConnection[conn]