Normally to drop a database in psql (postgresql) , we can just type
DROP DATABASE dbname;
If we want to drop a database called "db-name". we have to escape the database name which contains the hyphen by using double quotation marks.
DROP DATABASE "db-name";
Resource link here here
Top comments (0)