Answers for "psql show databases"

SQL
3

postgresql show current database

SELECT current_database();
Posted by: Guest on April-18-2020
24

postgresql list db

postgres=# l
Posted by: Guest on May-28-2020
0

psql show db

SELECT datname FROM pg_database;
Code language: SQL (Structured Query Language) (sql)
Posted by: Guest on November-12-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language