SQLConnectionInformation

SQLConnectionInformation[conn]

returns a list of information about the SQL connection conn.

SQLConnectionInformation[conn,property]

retrieves the value of property.

SQLConnectionInformation[conn,{p1,p2,}]

retrieves the properties pi.

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.

Open a connection to a sample database:

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

Retrieve the value of a specific connection property:

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

Retrieve all information about the connection:

In[4]:=
Click for copyable input

Display the connection information in a table:

In[5]:=
Click for copyable input
Out[5]//TableForm=

Close the connection:

In[6]:=
Click for copyable input

See Also

SQLConnectionOpenQ  SQLConnectionUsableQ  OpenSQLConnection  CloseSQLConnection  SQLConnections  SQLConnection  SQLConnectionPools  SQLConnectionPool

Tutorials