returns a list of the open SQLResultSet objects.
Details and Options
Examples
Basic Examples
See Also
Tech Notes
DatabaseLink`
DatabaseLink`
SQLResultSets
returns a list of the open SQLResultSet objects.
Details and Options
- To use SQLResultSets, 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.
conn = OpenSQLConnection["publisher"];rs1 = SQLResultSetOpen[SQLSelect[conn, "roysched"]];rs2 = SQLResultSetOpen[SQLSelect[conn, "titleauthors"]];SQLResultSets[]SQLResultSetClose[rs1]SQLResultSetClose[rs2]CloseSQLConnection[conn];