skip to main content
DataDirect Connect Drivers : Microsoft SQL Server Driver : Connection Properties : DatabaseName
  
DatabaseName
Purpose
The name of the database to which you want to connect.
Valid Values
string
where:
string
is the name of a Microsoft SQL Server database.
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:sqlserver://server1:1433;DatabaseName=jdbc;Database=acct;
User=test;Password=secret