Icon DROP STORE

Drops an existing store.

Syntax
DROP STORE <Name>
[KEEP CONTENTS]

Usage
Use this statement to drop a store.

Warning Dropping a store will delete all of the files present in the store along with the store directory if the store is a local store. However, you can keep the files but remove the store from the configuration by specifying the KEEP CONTENTS clause.

Examples
-- The following statement drops the Backups store.

DROP STORE "Backups"

Required Privileges
The current user must be granted the system-defined Administrators role in order to execute this statement. Please see the User Security topic for more information.

SQL 2003 Standard Deviations
This statement deviates from the SQL 2003 standard in the following ways:

DeviationDetails
ExtensionThis SQL statement is an ElevateDB extension.
Image