SQLResultSetOpen
This feature is not supported on the Wolfram Cloud.

SQLResultSetOpen[query]
makes a result set from an SQL query.

更多信息更多信息

  • To use SQLResultSetOpen, you first need to load DatabaseLink using Needs["DatabaseLink`"].
  • The following options can be given:
  • "Mode""ScrollInsensitive"the timeout for the query
    "FetchDirection"Automaticprocessing direction hint to JDBC driver
    "FetchSize"AutomaticJDBC driver hint for filling result sets

范例范例打开所有单元关闭所有单元

基本范例  (2)基本范例  (2)

In[1]:=
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 package, as described in Using the Example Databases.

Open a connection:

In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
In[5]:=
Click for copyable input
In[1]:=
Click for copyable input

Use SQLSelect instead of SQLExecute:

In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
In[5]:=
Click for copyable input