DatabaseLink`
DatabaseLink`
SQLTables
Details and Options
- To use SQLTables, you first need to load DatabaseLink using Needs["DatabaseLink`"].
- The following options can be given:
-
"Catalog" None database catalog to use "Schema" None database schema to use "TableType" "TABLE" type of table to return
Examples
open all close allBasic 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"];SQLTables[conn]SQLTables[conn, "AUTHORS"]Get the tables that match a pattern:
SQLTables[conn, "TITLE%"]CloseSQLConnection[conn];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.