[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: how to check uniqueness of uidNumber ?
David Smith solution can be modified to just a single value or entry; instead of many values and removing
the used one; which is incremented on each new subscription after being locked
1 - Lock the table
2 - Increment the value
3 - Get the new value
4 - Unlock the table
This way u can add additional info like machine name......etc and it is only just one record
--
Sameh Attia
Senior System Engineer
T.E. Data
--
__ __ _
_________ _/ /_/ /_(_)___ _
/ ___/ __ `/ __/ __/ / __ `/
(__ ) /_/ / /_/ /_/ / /_/ /
/____/\__,_/\__/\__/_/\__,_/
"She who is in my mind and mouth, I love her with all my heart and blood"
We'll restore OUR Palestine