|
SOLUTIONS
|
DATABASELINK 符号
SQLConnection
SQLConnection[...]
is an object that represents a connection to a data source.
更多信息更多信息
- To use SQLConnection, you first need to load DatabaseLink using Needs["DatabaseLink`"].
- OpenSQLConnection and SQLConnections both return an SQLConnection object.
- The following options can be modified in an SQLConnection object:
-
"Catalog" Automatic set the catalog for the connection "ReadOnly" Automatic set the connection to be read only "TransactionIsolationLevel" Automatic set transaction isolation for the connection
范例范例打开所有单元关闭所有单元
基本范例 (1)基本范例 (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]:= |
| Out[2]= |
| In[3]:= |
| Out[3]= |
| In[4]:= |
| Out[4]= |
This sets the
option on one of the connections to True:
| In[5]:= |
| Out[5]= |
| In[6]:= |
| In[7]:= |
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
