Answers for "psql show databasess"

SQL
4

postgresql show current database

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

show all database inside postgresql

-- Query to get all database in PostgreSQL and their oid (alternative to l) 
SELECT oid, datname FROM pg_database;
Posted by: Guest on January-02-2022

Code answers related to "SQL"

Browse Popular Code Answers by Language