Answers for "postgres rename column if exists"

SQL
1

rename table column postgresql

ALTER TABLE table_name 
RENAME COLUMN column_name TO new_column_name;
Posted by: Guest on October-20-2021
0

how to update column name in psql

ALTER TABLE order_details
  DROP COLUMN notes;
Posted by: Guest on October-27-2020

Code answers related to "postgres rename column if exists"

Code answers related to "SQL"

Browse Popular Code Answers by Language