WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

SQLTableNames [conn]

returns the names of each table in an SQL connection.

SQLTableNames [conn,table]

returns the names matching table.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Options  
"TableType"  
See Also
Tech Notes
Related Guides

SQLTableNames [conn]

returns the names of each table in an SQL connection.

SQLTableNames [conn,table]

returns the names matching table.

Details and Options

  • To use SQLTableNames , 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 all

Basic Examples  (1)

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.

Open a connection:

Get the names of all the tables:

Get the names of tables matching a pattern:

Options  (1)

"TableType"  (1)

Get the names of all types of tables in a data source:

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /