DatabaseName property

Previous  Top  Next

See Also Properties Methods Events Example
Unit
MySQLDataset

Applies to
TMySQLDataset TMySQLTable and TMySQLQuery components

Declaration
property DatabaseName: string;

Description
The currently selected database, setting this property will cause a sql "USE DatabaseName" on this dataset's active threaded connection to the MySQL Server.

NOTE: This value will replace all $DATABASENAME macros in your SQL statements if you used it.