[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Procedure to drop or remove a Database
Source position: sqldb.pp line 282
public procedure TSQLConnection.DropDB; virtual; |
DropDB does the opposite of CreateDB. It removes the database from the server. The database must be connected before this command may be used. Whether or not this functionality is present depends on the type of the connection.
If the connection type does not support creating a database, then an EDatabaseError exception is raised. Other exceptions may be raised if the operation fails, e.g. when the user does not have the necessary access rights.
|
Create a new Database on the server |