Difference between revisions of "Pg database"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* <code>pg_database</code> | * <code>pg_database</code> | ||
− | SELECT datname FROM pg_database WHERE datistemplate = false; | + | SELECT datname FROM pg database; |
+ | |||
+ | |||
+ | SELECT [[datname]] FROM pg_database WHERE datistemplate = false; | ||
datname | datname | ||
---------- | ---------- |
Revision as of 14:19, 27 September 2024
pg_database
SELECT datname FROM pg database;
SELECT datname FROM pg_database WHERE datistemplate = false; datname ---------- postgres (1 row)
Related terms
See also
Advertising: