User`s guide

database
7-51
'Server'
'Windows'
Specify 'Windows' for Windows Authentication.
Example: 'AuthType','Windows'
'DriverType' — Driver type
'thin' | 'oci'
Driver type (required only for Oracle), specified as the comma-separated pair consisting
of 'DriverType' and one of the following strings:
'thin'
'oci'
Specify 'oci' for Windows Authentication.
Example: 'DriverType','thin'
'URL' — Connection URL
string
Connection URL, specified as the comma-separated pair consisting of 'URL' and a string
value. If you specify URL, you might not need to specify any other properties.
Output Arguments
conn — Database connection
database connection object
Database connection, returned as a database connection object. The database connection
object has the following properties.
Property Description
Instance Data source name when using ODBC or database name when
using JDBC
UserName User name used for database login
Driver JDBC or JDBC/ODBC driver object used for database
connection
URL Driver vendor-specific string for database connection