Reputation: 75
To drop a column of a table, you use the DROP COLUMN clause in the ALTER TABLE statement as follows:
ALTER TABLE res_partner rs
DROP COLUMN rs.miss_schedule;
ERROR: syntax error at or near "rs" LINE 1: ALTER TABLE res_partner rs
Upvotes: 3
Views: 2572
Reputation: 1827
Try this query with no alias
ALTER TABLE res_partner DROP COLUMN miss_schedule;
Upvotes: 5