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/
Auf dieser Seite können Sie das Online-Video How to rename Column or Table in SQL Server - SQL Server / TSQL Tutorial Part 36 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer TechBrothersIT 04 Mai 2016 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 15,580 Mal angesehen und es wurde von 53 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!