Check out example codes for "alter column name in sql". It will help you in understanding the concepts better.

Code Example 1

ALTER TABLE table_name RENAME COLUMN old_name TO new_name;

Code Example 2

sp_rename 'table_name.old_column', 'new_name', 'COLUMN';

Code Example 3

alter table product change price price_kg float;

Code Example 4

ALTER TABLE table_name RENAME COLUMN old_name TO new_name;

Code Example 5

EXEC SP_RENAME 'TABLE_NAME.OLD_COLUMN_NAME','NEW_COLUMN_NAME'

Learn ReactJs, React Native from akashmittal.com