Format DELETE DATABASE [ qualifier ] rms-database-name .
1 – Parameters
1.1 – rms-database-name
Specifies the physical RMS database element you are deleting. You can substitute an asterisk (*) wildcard character for this parameter.
2 – Qualifiers
2.1 /LOG
Format options: /LOG /NOLOG (default) Specifies whether CDO displays text confirming that the physical RMS database element is deleted.
3 – Description
The DELETE DATABASE command deletes the physical RMS database (CDD$FILE) from disk and its CDD$DATABASE element from the repository. When you issue the DELETE DATABASE command, CDO prompts you to confirm that you want to proceed. You cannot suppress this prompt. If you respond Yes at the prompt, CDO deletes the highest visible version of CDD$FILE and, if you have not specified another version number, the highest visible version of CDD$DATABASE. If CDO cannot delete the physical RMS file from disk, the DELETE DATABASE command fails, and the CDD$DATABASE and CDD$FILE elements remain in the repository.
4 – Examples
CDO> DELETE DATABASE /LOG EMP_FILE(1) In this example, the DELETE DATABASE command with the /LOG qualifier confirms that CDO deleted the RMS file from disk and the RMS database element EMP_FILE from the repository.