"SHOW DATABASES"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-<source lang='cli'> +<source lang='console'>))
46번째 줄: 46번째 줄:


==같이 보기==
==같이 보기==
*[[SHOW TABLES]]
* [[SHOW TABLES]]
*[[CREATE DATABASE]]
* [[CREATE DATABASE]]
*[[DROP DATABASE]]
* [[DROP DATABASE]]

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 }}