How to rename a column "foo" into "bar" in a table "mytable"? I tried:
Alter table mytable
Alter column foo bar;
Alter table mytable change foo bar;
Alter table mytable rename column foo to bar;
But it didn't work.
How to rename a column "foo" into "bar" in a table "mytable"? I tried:
Alter table mytable
Alter column foo bar;
Alter table mytable change foo bar;
Alter table mytable rename column foo to bar;
But it didn't work.