append column sql
ALTER TABLE table_name
ADD column_name datatype;
--example
ALTER TABLE Customers
ADD Email varchar(255);
append column sql
ALTER TABLE table_name
ADD column_name datatype;
--example
ALTER TABLE Customers
ADD Email varchar(255);
sql rename column
EXEC SP_RENAME 'TABLE_NAME.OLD_COLUMN_NAME','NEW_COLUMN_NAME'
cmd to rename a collumn name in sql
ALTER TABLE table_name RENAME COLUMN old_name TO new_name;
how to change the column name in sql
ALTER TABLE table_name
CHANGE COLUMN old_name TO new_name;
modify column name in sql
ALTER TABLE `Table Name` MODIFY COLUMN `Column Name` Datatype(Size);
alter table name sql
-- Microsoft SQL style
EXEC sp_rename 'TableOldName', 'TableNewName';
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us