update column name sql code example
Example 1: change name of colum in sql table
ALTER TABLE "table_name" RENAME COLUMN "column 1" TO "column 2";
Example 2: cmd to rename a collumn name in sql
ALTER TABLE table_name RENAME COLUMN old_name TO new_name;
Example 3: alter table name sql
-- Microsoft SQL style
EXEC sp_rename 'TableOldName', 'TableNewName';