here id col have primary key and identity id name 1 a 2 b 3 c 4 d delete 2nd row then o/p will be id name 1 a 3 c 4 d next inssert 2nd row and i want o/p will be id name 1 a 2 e 3 c 4 d
set identity_insert order1 on
insert into order1(id,name) values(2,'insertedat2')
No comments:
Post a Comment