Hello,
I have two problems that are connected that I would like to solve. I hope anybody that knew this have time to help me!
1) I have an application that requests a new ID from my MS SQL Server Express 2088. I would like the application to get next avaiable ID. e.g if the ID's are 1,2,3,5 then I would like the application to get ID = 4 and if the list lock like: 1,2,3,4 then I would like the application to get ID = 5.
2) How do I prevent two application to get the same ID from the SQL server ?
Cheers Gustaf
I have two problems that are connected that I would like to solve. I hope anybody that knew this have time to help me!
1) I have an application that requests a new ID from my MS SQL Server Express 2088. I would like the application to get next avaiable ID. e.g if the ID's are 1,2,3,5 then I would like the application to get ID = 4 and if the list lock like: 1,2,3,4 then I would like the application to get ID = 5.
2) How do I prevent two application to get the same ID from the SQL server ?
Cheers Gustaf