Postgresql Alter Table Add Column Rename Column Table Examples
In this tutorial, you will learn: Syntax Description Modifying a column Adding a New column Renaming a Table Column Setting a Default Value for a Column Adding a Check Constraint Renaming a Table Using pgAdmin Syntax Here is the syntax for the PostgreSQL ALTER TABLE command: The table-name parameter is the name of the table that you need to change. The action parameter is the action that you need to perform, such as changing the name of a column, changing the data type of a column, etc....