TIBConnection.CreateDB procedure
Creates a database on disk.
Declaration
procedure CreateDB; overrideDescription
Instructs the Interbase or Firebird database server to create a new database.
If set, the Params (specifically, PAGE_SIZE) and CharSet properties influence the database creation.
If creating a database using a client/server environment, the TIBConnection code will connect to the database server before trying to create the database. Therefore make sure the connection properties are already correctly set, e.g. HostName, UserName, Password.
If creating a database using Firebird embedded, make sure the embedded library is loaded, the HostName property is empty, and set the UserName to e.g. 'SYSDBA'. See TIBConnection: Firebird/Interbase specific
TSQLConnection. for details on loading the embedded database library.
See also
- Params
- DropDB
- TIBConnection
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
