Menu
Amazon Redshift
Database Developer Guide (API Version 2012-12-01)

DROP DATABASE

Drops a database.

Syntax

Copy
DROP DATABASE database_name

Parameters

database_name

Name of the database to be dropped. You cannot drop the dev, padb_harvest, template0, or template1 databases, and you cannot drop the current database.

Examples

The following example drops a database named TICKIT_TEST:

Copy
drop database tickit_test;

On this page: