c# - Reset Auto Increment by day in visual studio - SQL -
i´m looking solution reset auto increment id day change.
let's have order , want store 2 identification numbers... daylie order number , order itself.
e.g. order#123123 orderday#3 article#something, etc.
the order number auto increment , primary while day id counter see how many orders company got in day.
the day counter has reset new day.
i´m working on windows forms project local sql server database.
thanks in advance
you can schedule job resets day id 1 each day:
Comments
Post a Comment