how to rest identity columns in sql server
Answer Posted / muthu kumar
create table t(id int identity(seed,increment))
where seed is starting number and increment is number to be
incremented.
create table t(id int identity(1,1),name varchar(50))
so the id will be start with 1 and will be incremented 1 by
1 each time when record is get insered
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
How to provide values to user defined function parameters?
Explain what are magic tables in sql server?
What is the difference between web edition and business edition?
What is the importance of a recovery model?
What is transaction server explicit transaction?
What is temporal data type?
What are the authentication modes in sql server? How can it be changed?
How do I uninstall sql server 2014?
Does partitioning ssd reduce performance?
How do I find query history in sql server?
Do you know what are acid properties?
What are secondary xml indexes?
How connect excel to sql server?
What is the definition for sql server 2000?
Why should we go for stored procedures? Why not direct queries?