Answers for "rename a database in psql server"

SQL
0

postgres rename database

ALTER DATABASE "old_dbname" RENAME TO "new_dbname"
Posted by: Guest on March-20-2021
0

change database name psql 8

# Remember to check active connections to the db and close them
ALTER DATABASE your_db_name RENAME TO new_name;
Posted by: Guest on June-25-2021

Code answers related to "rename a database in psql server"

Code answers related to "SQL"

Browse Popular Code Answers by Language