SQLConnection

SQLConnection[]

is an object that represents a connection to a data source.

Details

Examples

Basic Examples  (1)

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 "DatabaseLink`DatabaseExamples`" package, as described in Using the Example Databases.

Create connections:

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

List connections:

In[4]:=
Click for copyable input
Out[4]=

This sets the ReadOnly option on one of the connections to True:

In[5]:=
Click for copyable input
Out[5]=
In[6]:=
Click for copyable input
In[7]:=
Click for copyable input

See Also

OpenSQLConnection  CloseSQLConnection  SQLConnections

Tutorials