“Zmień nazwę kolumny SQL Server Management Studio” Kod odpowiedzi

Zmień nazwy kolumn MSSQL

--The following example renames the column TerritoryID in the table Sales.SalesTerritory to TerrID in the AdventureWorks database.

EXEC sp_rename 'Sales.SalesTerritory.TerritoryID', 'TerrID', 'COLUMN';
Black Tailed Deer

Zmień nazwę nazwy kolumny SQL Server

EXEC sp_RENAME 'table_name.old_name', 'new_name', 'COLUMN'
Gifted Gharial

Zmień nazwę kolumny SQL Server Management Studio

EXEC sp_RENAME 'table_name.old_name',  'new name',  'COLUMN'
Xenophobic Xenomorph

Odpowiedzi podobne do “Zmień nazwę kolumny SQL Server Management Studio”

Pytania podobne do “Zmień nazwę kolumny SQL Server Management Studio”

Więcej pokrewnych odpowiedzi na “Zmień nazwę kolumny SQL Server Management Studio” w Sql

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu