Main Content
SQLConnectionOptions
Description
Create connection options for a JDBC database connection.
After you create an SQLConnectionOptions
object, set the connection
options, test the connection, and save the data source, you can create a JDBC database
connection using the saved data source. The connection options include the options required to
make a database connection. You can also define additional connection options for a specific
database driver.
Creation
Create an SQLConnectionOptions
object using the databaseConnectionOptions
function.
Properties
Object Functions
setoptions | Set JDBC or ODBC connection options |
rmoptions | Remove JDBC or ODBC connection options |
reset | Reset JDBC or ODBC connection options to defaults |
testConnection | Test JDBC or ODBC database connection |
saveAsDataSource | Save JDBC or ODBC data source |
Examples
Version History
Introduced in R2020b