sysadmin dropdb

Description

Drops a database from the ID Server.

Syntax

sysadmin dropdb, data_server, database

Parameters

data_server

The name of the data server.

database

The name of the database you want to drop.

Examples

Example 1

Drops the pubs2 database in the SYDNEY_DS data server from the ID Server:

sysadmin dropdb, SYDNEY_DS, pubs2

Usage

WARNING! Never use sysadmin dropdb on any databases that have active connections.

Permissions

sysadmin dropdb requires “sa” permission.

See also

sysadmin dropldb