DatabaseName
- Last Updated: May 13, 2025
- 1 minute read
- DataDirect Connectors
- JDBC
- Documentation
Purpose
Specifies the name of the database to which you want to connect.
Valid Values
string
where:
- string
- is the name of the database.
Data Source Method
setDatabaseName
Default
None
Data Type
String
Alias
Database property. If both the Database and DatabaseName properties are specified in a connection URL, the last property that is positioned in the connection URL is used. For example, if your application specifies the following connection URL, the value of the Database connection property would be used instead of the value of the DatabaseName connection property.
jdbc:datadirect:redshift://server1:5439;DatabaseName=jdbc;Database=acct;
User=test;Password=secret