0 out of 1 rated this helpful - Rate this topic

DROP DATABASE (Windows Azure SQL Database)

Removes a database. You must be connected to the master database to drop a database.

Syntax Conventions (Windows Azure SQL Database)


DROP DATABASE database_name 
[;]

This syntax diagram demonstrates the supported arguments in Microsoft Windows Azure SQL Database.

Windows Azure SQL Database does not support the database_snapshot_name argument when using the DROP DATABASE statement.

For more information about the arguments and the DROP DATABASE statement, see DROP DATABASE in SQL Server Books Online.

The DROP DATABASE statement must be the only statement in a SQL batch and you can drop only one database at a time.

Only the server-level principal login (created by the provisioning process) or members of the dbmanager database role can drop a database.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.