SHOW DATABASES

Jmnote (토론 | 기여)님의 2019년 9월 23일 (월) 01:47 판 (→‎같이 보기)
SHOW DATABASES
show dbs

1 MongoDB

> show dbs
local	0.078125GB

2 MySQL

mysql> SHOW DATABASES;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| Northwind          |
| gnuboard           |
| mysql              |
| performance_schema |
| test               |
+--------------------+
6 rows in set (0.01 sec)

3 PostgreSQL

template1=# \l
                                  List of databases
   Name    |  Owner   | Encoding |   Collate   |    Ctype    |   Access privileges   
-----------+----------+----------+-------------+-------------+-----------------------
 postgres  | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | 
 template0 | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres          +
           |          |          |             |             | postgres=CTc/postgres
 template1 | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres          +
           |          |          |             |             | postgres=CTc/postgres
(3 rows)

4 같이 보기

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