Add identity Column to Table by TSQL and GUI in SQL Server-SQL Server / TSQL Tutorial Part 40

Pubblicato il: 04 maggio 2016
sul canale di: TechBrothersIT
4,456
15

SQL Server / TSQL Tutorial Scenario: How to Add identity Column to Table by TSQL and GUI in SQL Server

You are working as SQL Server Developer and you have created a dbo.Customer table by using below Script.

CREATE TABLE Customer (
FirstName VARCHAR(50)
,LastName VARCHAR(50)
,Age SMALLINT
,PhoneNumber CHAR(9)
,DOB DATE
,Gender CHAR(1)
)
You need to add a column CustomerId that should start from 1 and every time new row inserts into table, it should increment by 1.


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/


In questa pagina del sito puoi guardare il video online Add identity Column to Table by TSQL and GUI in SQL Server-SQL Server / TSQL Tutorial Part 40 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato TechBrothersIT 04 maggio 2016, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 4,456 volte e gli è piaciuto 15 spettatori. Buona visione!