rename table sql
snippet in sql

rename table sql

user8385

ALTER TABLE STUDENTS  
RENAME TO ARTISTS;  

sql change table name

user7059

ALTER TABLE exampletable RENAME TO new_table_name;

rename table sql server

user1872

USE AdventureWorks2012;   
GO  
EXEC sp_rename 'Sales.SalesTerritory', 'SalesTerr';  

rename column sql

user4238

ALTER TABLE nom_table
RENAME COLUMN colonne_ancien_nom TO colonne_nouveau_nom

modify column name in sql

user7382

ALTER TABLE `Table Name` MODIFY COLUMN `Column Name` Datatype(Size);

alter table name sql

user9424

-- Microsoft SQL style
EXEC sp_rename 'TableOldName', 'TableNewName';