Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Drops the database from the cloud and deletes all database files.
CALL DBCloud.DropDatabase ( database=database )
dbcloudcmd run DropDatabase database
database The database to drop. Accepts a search query that identifies one database, for example a database name or ID. (Required)
This task deletes a tenant database along with all its database copies and associated files, such as transaction logs, dbspaces,
and backup files.
Before dropping a database, ensure that it is stopped.
Run the following task to drop the tenant database named mydatabase:
dbcloudcmd run DropDatabase database=mydatabase
Run the following task to drop the tenant database on the host myhost that has the tag mytag (an error is returned unless
there is one exact match):
dbcloudcmd run DropDatabase database="host:myhost and tag:mytag"