[Overview][Constants][Types][Classes][Index] Reference for unit 'IBConnection' (#fcl)

TIBConnection.DropDB

Deletes a database from disk

Declaration

Source position: ibconnection.pp line 129

public procedure TIBConnection.DropDB; override;

Description

DropDB instructs the Interbase/Firebird database server to delete the database that is specified in the TIBConnection.

In a client/server environment, the TIBConnection code will connect to the database server before telling it to drop the database. Therefore make sure the connection properties are already correctly set, e.g. TSQLConnection.HostName, TSQLConnection.UserName, TSQLConnection.Password.

When using Firebird embedded, make sure the embedded connection library is loaded, the TSQLConnection.HostName property is empty, and set the TSQLConnection.UserName to e.g. 'SYSDBA'. See TIBConnection: Firebird/Interbase specific TSQLConnection for more details on loading the embedded library.

See also

TSQLConnection.CreateDB

TSQLConnection.HostName

TSQLConnection.UserName

TSQLConnection.Password


Documentation generated on: May 14 2021