Answer the question
In order to leave comments, you need to log in
Is it possible to reset the counter when adding a new record in MS SQL?
There are two tables. In one autoincrement file id , in the other autoincrement page id. The tables are linked by a key by the file id. DB schema
As a result, I want to make sure that when the file id changes, the page id is reset to zero. For simplicity and clarity, I will attach an example
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question