SQL Server : how to insert Identity in existing table -


i creating table:

create table emp6 (eno int constraint prkey primary key, ename varchar(15)) 

after creation of table, want add identity eno column. can add identity , can remove identity it?

no, cannot add or remove identity existing column.

if forgot make eno column identity, must drop table , re-create correct settings.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -