PostgreSQL 데이터베이스 삭제 DROP DATABASE

1 개요[ | ]

PostgreSQL DROP DATABASE
PostgreSQL 데이터베이스 삭제
DROP DATABASE 데이터베이스명;

2 실습[ | ]

template1=# \l hello
                              List of databases
 Name  |  Owner   | Encoding |   Collate   |    Ctype    | Access privileges 
-------+----------+----------+-------------+-------------+-------------------
 hello | testuser | UTF8     | en_US.UTF-8 | en_US.UTF-8 | 
(1 row)
template1=# DROP DATABASE hello;
DROP DATABASE
template1=# \l hello
                       List of databases
 Name | Owner | Encoding | Collate | Ctype | Access privileges 
------+-------+----------+---------+-------+-------------------
(0 rows)

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}