Answers for "modify name table sql"

SQL
2

rename table sql server

USE AdventureWorks2012;   
GO  
EXEC sp_rename 'Sales.SalesTerritory', 'SalesTerr';
Posted by: Guest on September-22-2020
2

alter table name sql

-- Microsoft SQL style
EXEC sp_rename 'TableOldName', 'TableNewName';
Posted by: Guest on July-11-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language