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
Post a Comment