How to rename Column or Table in SQL Server - SQL Server / TSQL Tutorial Part 36

Publicado em: 04 Maio 2016
no canal de: TechBrothersIT
15,580
53

SQL Server / TSQL Tutorial Scenario: How to Rename a Column Name or Table Name in SQL Server

Scenario:
You are working as SQL Server developer for Auto Insurance Company. On one of SQL Server Instance, they have Database with name Insurance. In Insurance Database they have table dbo.Customer with below definition.

Create Table Customer
(FirstName VARCHAR(50),
LastName VARCHAR(50),
Age SmallInt,
PhoneNumber CHAR(9),
DOB Date,
Sex CHAR(1)
)
You got the requirement to change the name of Customer table to USCustomers and also change the Sex column Name to Gender. You need to prepare SQL Scripts for QA, UAT and Production.

Link to Scripts used in the video
http://www.techbrothersit.com/2016/02...

Check out our website for Different SQL Server, MSBI tutorials and interview questions
such as SQL Server Reporting Services(SSRS) Tutorial
SQL Server Integration Services(SSIS) Tutorial
SQL Server DBA Tutorial
SQL Server / TSQL Tutorial ( Beginner to Advance)
http://www.techbrothersit.com/


Nesta página do site você pode assistir ao vídeo on-line How to rename Column or Table in SQL Server - SQL Server / TSQL Tutorial Part 36 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário TechBrothersIT 04 Maio 2016, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 15,580 vezes e gostou 53 espectadores. Boa visualização!