Javatpoint Logo
Javatpoint Logo

PostgreSQL Delete/Drop Database

In PostgreSQL, you can delete a database which you don't need any more. You should follow the following steps:

  • Select the database by a left click on it.
  • Make a right click and you will see an option to delete/drop.
  • Click delete/drop option to remove the database completely.

PostgreSQL Delete/Drop Database Example

Here, we are going to delete the database "javatpoint".

dropdatabase

Right click on the javatpoint and make a left click on delete/drop option. You will get a following popup box.

dropdatabase

Click on "Yes" to remove database "javatpoint" completely.

See the result:

Now, you can see that javatpoint is deleted from the record.

dropdatabase




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA