Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

SQL Data Types

This section discusses how to retrieve information about data types. When you create a table, you will need to refer to these data types. 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.

Functions for retrieving information about tables.

This loads DatabaseLink and connects to the demo database.

In[1]:=

SQLDataTypeNames returns a list of the data type names within a database.

In[3]:=
Out[3]=

SQLDataTypeInformation returns more complete information about the data types.

In[4]:=
Out[4]//TableForm=

SQLDataTypeInformation takes a single option: ShowColumnHeadings. This returns the column headings.

In[5]:=
Out[5]//TableForm=

This closes the connection.

In[6]:=

More information on working with data types is provided in the section Data Type Mapping.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: