Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

SQL SERVER Add Identity Column to existing table

ALTER TABLE tablename ADD ColumnName bigint IDENTITY(1,1) NOT NULL
Source by social.msdn.microsoft.com #
 
PREVIOUS NEXT
Tagged: #SQL #SERVER #Add #Identity #Column #existing #table
ADD COMMENT
Topic
Name
6+7 =