Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

How to alter column to identity(1,1)

$
0
0

I tried

 

Alter table table1 alter column column1 Identity(1,1);

Alter table table1 ADD CONSTRAINT column1_def Identity(1,1) FOR column1

 

they all can not work,

any idea about this? thanks

 


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>