DatabaseLink`
DatabaseLink`

SQLConnection

SQLConnection[]

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

更多信息和选项

范例

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

Create connections:

List connections:

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