Select Page

How to rename a table column in PostgreSQL

ALTER TABLE tablename RENAME COLUMN oldColumnName TO newColumnName;

Last Updated On April 07, 2018

Leave a reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.