DatabaseName
- Last Updated: December 21, 2016
- 1 minute read
- DataDirect Connectors
- JDBC
- MongoDB 6.0
- Documentation
Purpose
Specifies the name of the database to which you are connecting. This value is used as the default qualifier for unqualified table names in SQL queries.
Valid Values
database_name
where:
- database_name
- is the name of a valid database.
Important: This value is case-insensitive if you have access privileges to query
the list of databases on the server. If you do not have access, this value is
case-sensitive.
Notes
If authentication has not been enabled, client applications will have access to all databases on the server. If authentication has been enabled, a client application will only have access to the database specified by the DatabaseName property assuming it has the required permissions. However, an application with clusterAdmin privileges will have access to all databases on the server even when authentication is enabled.
Default
INFORMATION_SCHEMA
Data Type
String