DROP DATABASE - delete a database

SYNOPSIS

 

DROP DATABASE name

DESCRIPTION Description

DROP DATABASE delete a directory entry for the existing database and deletes the directory containing the data. Only the database owner can execute this command (usually the database creator).

DROP DATABASE can not be undone, use with care!

PARAMETERS Parameters

name

 To the existing database name to be deleted.

NOTES Note

DROP DATABASE cannot be executed inside a transaction block.


 This command can not be executed and the target database connection. Usually better to [a dropdb dropdb (. 1)] instead of the program, the program is a wrapper around this command.  

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11080856.html