Navision resets this when you change back and forth from autoincrement and not.
You can also do this with a SQL script. I do not have this available from the top of my head but I am sure that if you use google on Reset Identity Insert (SQL terminology) you will get the proper results.
Navision resets this when you change back and forth from autoincrement and not.
You can also do this with a SQL script. I do not have this available from the top of my head but I am sure that if you use google on Reset Identity Insert (SQL terminology) you will get the proper results.
If you want to reset the AutoIncrement values via TSQL this would be the TRUNCATE TABLE command (this deletes all data from the table and resets the identity value).
If you want to set a specific value for an AutoIncrement field, and/or a specific increment value you could use the IDENTITY feature from SQL Server (check out the "Books Online" for details).
Answers
You can also do this with a SQL script. I do not have this available from the top of my head but I am sure that if you use google on Reset Identity Insert (SQL terminology) you will get the proper results.
Okay, thanks
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
If you want to set a specific value for an AutoIncrement field, and/or a specific increment value you could use the IDENTITY feature from SQL Server (check out the "Books Online" for details).
Best regards,
Jörg
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool