Show databases

From wikieduonline
Revision as of 07:46, 15 April 2020 by Welcome (talk | contribs)
Jump to navigation Jump to search

PostgreSQL:

SELECT datname FROM pg_database WHERE datistemplate = false;
datname
----------
postgres
(1 row)
SELECT datname FROM pg_database WHERE datistemplate = false;
datname
----------
postgres
your_database_name
(2 rows)


Related terms

See also

Advertising: