DROP DATABASE

This statement deletes a database from the device.

Syntax

DROP DATABASE 'database_name.cdb' [,…n]

Parameters

database_name

Specifies the name of the database to be removed. This name must be in single quotes and have the .cdb file extension.

n

Specifies additional databases to be dropped in a comma separated list.

Remarks

A dropped database cannot be restored.

Use a comma separated list to drop multiple databases.

This statement is available on the following platforms: H/PC Pro, P/PC 1.2, and Platform Builder 2.12.

Example

Dim rs, i, L1
Set rs = CreateObject("adoce.recordset")
rs.Open "drop database myDatabase"
rs.Close
Set rs = Nothing