Answers for "psql make change in table"

SQL
3

alter column in table postgres

ALTER TABLE table_name
  ALTER COLUMN column_name TYPE column_definition;
Posted by: Guest on February-24-2021
1

how to update column name in psql

ALTER TABLE table_name
  RENAME COLUMN old_name TO new_name;
Posted by: Guest on March-12-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language