0

I'm just trying to rename a column following the documentation, I tried a couple of statements but nothing yet.

Total to price:

I tried:

ALTER TABLE order RENAME COLUMN  total TO price;

But didn't work.

1 Answers1

1

Try this if your are using a version below 10.5

ALTER TABLE order CHANGE COLUMN total TO price;
Andrés
  • 487
  • 1
  • 12