Used to specify the database name that is a default source of data for SQL queries once a connection is established.
property Database: string;
Use the Database property to specify the database name that is a default source of data for SQL queries once a connection is established.
Altering the Database property makes new database name take effect immediately.
This property is available for Access, Advantage, SAP Sybase ASE, DB2, DBF, InterBase, MySQL, NexusDB, PostgreSQL, SQL Server, and SQLite providers.
SQL Server provider note:
When Database is not assigned, the SQL Server provider will use the default database for the current SQL Server login specified in the TCustomDAConnection.Username property.