Rename Column Syntax

Syntax 

ALTER TABLE table_name RENAME COLUMN column TO new_column;

Example

ALTER TABLE foo RENAME COLUMN x TO y;
  • 37
  • 27-Jul-2015
  • 521 Views