PostgreSQL Alter Table Drop Column
The RazorSQL alter table tool includes a Drop Column option for dropping a column from a PostgreSQL database table. The drop column function allows the user to select a column to drop from the table. The tool then generates the appropriate alter table drop column SQL command for dropping the column from the table.
Listed below is an example of the SQL generated by the PostgreSQL Alter Table Drop Column function:
ALTER TABLE sample.public.employee DROP COLUMN ssn
Below is a screen shot of the drop column function of the PostgreSQL alter table tool.