How to rename a table column in PostgreSQL

1 sec read

ALTER TABLE tablename RENAME COLUMN oldColumnName TO newColumnName;

Last Updated On April 07, 2018

Leave a Reply

avatar
  Subscribe  
Notify of