Show databases

From wikieduonline
Revision as of 12:58, 10 May 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: