Skip to content

deleteDatabase

MicroBlaster edited this page Jul 3, 2020 · 3 revisions

Purpose: Deletes the specified database, configuration, and optionally script data.

Syntax: deleteDatabase {Database} [ScriptData]

{name}: The name of the database to be created. [ScriptData]: If specified, all script data files matching the database name will be deleted.

Notes: WARNING - this action cannot be undone.

Example:

# Clear all databases - use with caution - all data will be deleted!
listDatabases $db
setVar $a 1
while ($a <= $db)
	deleteDatabase $db[$a] ScriptData
	add $a 1
end

Clone this wiki locally