|
SOLUTIONS
|
DATABASELINK SYMBOL
SQLTableNames
SQLTableNames[conn]
returns the names of each table in an SQL connection.
DetailsDetails
- 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
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
| In[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
package, as described in Using the Example Databases.
| In[2]:= |
Get the names of all the tables:
| In[3]:= |
| Out[3]= |
Get the names of tables matching a pattern:
| In[4]:= |
| Out[4]= |
| In[5]:= |
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
