Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

SQLTableInformation

SQLTableInformation[conn]
returns a list of information about the tables in an SQL connection.
  • To use SQLTableInformation, you first need to load DatabaseLink using Needs["DatabaseLink`"].
  • The following options can be given:
"Catalog"Nonedatabase catalog to use
"Schema"Nonedatabase schema to use
"ShowColumnHeadings"Falsewhether to return headings with the results
"TableType""TABLE"type of table to return
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 DatabaseExamples` package, as described in Using the Example Databases.
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]//TableForm=
Get information for a specific table:
In[4]:=
Click for copyable input
Out[4]//TableForm=
Get information for tables that match a pattern:
In[5]:=
Click for copyable input
Out[5]//TableForm=
In[6]:=
Click for copyable input
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 DatabaseExamples` package, as described in Using the Example Databases.
© 2013 Wolfram Research, Inc. Japanese