EPUB | CHM | PDF

TMySQLDatabase.Methods.GetDatabaseSize

Top Previous Next

Return the current database size in bytes.

Syntax:

function GetDatabaseSize : Int64;

Description:

Use these method to get the size current database in bytes. If there is no connection to the database, the function returns 0.

Exampls:

ShowMessage('Size current database is ' + IntToStr(MySQLDatabase1.GetDatabaseSize)
                + ' bytes');