|
SOLUTIONS
|
DATABASELINK SYMBOL
SQLCreateTable
SQLCreateTable[conn, table, columns]
creates a new table in an SQL connection.
DetailsDetails
- To use SQLCreateTable, you first need to load DatabaseLink using Needs["DatabaseLink`"].
- SQLCreateTable returns an integer specifying the number of rows affected by the query. If the table is created correctly, this integer will always be zero, as no rows are affected when creating a new table.
- The following option can be given:
-
"Timeout" None the timeout for the query
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]:= |
| In[3]:= |
| Out[3]= |
Specify whether columns can have null values:
| In[4]:= |
| Out[4]= |
| In[5]:= |
| Out[5]= |
| In[6]:= |
| Out[6]= |
| In[7]:= |
| In[8]:= |
| In[9]:= |
| In[10]:= |
| In[11]:= |
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »




