PostgreSQL Drop database
we have already created a database in our previous chapter. You can Drop database using either of the following methods: OS Command Prompt SQL Prompt 1.OS Command Prompt: dropdb -- remove a PostgreSQL database dropdb destroys an existing PostgreSQL database. The user who executes this command must be a database superuser or the owner of the database. dropdb is a wrapper around the SQL command DROP DATABASE. There is no effective difference between dropping databases via this utility and via other methods for accessing the server. Synatax: dropdb [connection-option...] [option...] dbname dropdb accepts the following command-line arguments: Options ...