Skip to content

TSQLConnection.DatabaseName

The name of the database to which connection is required.

Declaration

Source position: sqldb.pp line 331

published property DatabaseName;

Description

DatabaseName is the name of the database to which a connection must be made. Some servers need a complete path to a file, others need a symbolic name (an alias): the interpretation of this name depends on the connection type.

This property must be set prior to activating the connection. Changing it while the connection is active has no effect.

See also

Name Description
TSQLConnection.Password Password used when authenticating on the database server.
TSQLConnection.UserName The username for authentication on the database server.
TSQLConnection.Charset The character set to be used in this database.
TSQLConnection.Hostname The name of the host computer where the database resides.