sysadmin dropldb

Description

Drops a logical database from the ID Server.

Syntax

sysadmin dropldb, data_server, database

Parameters

data_server

The name of the logical data server.

database

The name of the logical database you want to drop.

Examples

Example 1

Drops the pubs2 logical database in the LDS logical data server from the ID Server:

sysadmin dropldb, LDS, pubs2

Usage

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

Permissions

sysadmin dropldb requires “sa” permission.

See also

sysadmin dropdb