Dears,
I am using VB6 and MS SQL 2005.
I need to generate Unique ID for each records (due to some manipulations required later I cannot use Auto ID's) currently I am using
which works well until other users would Press SAVE at same moment, so what would be the better way of doing this, any help?
Best Regards,
Sam
I am using VB6 and MS SQL 2005.
I need to generate Unique ID for each records (due to some manipulations required later I cannot use Auto ID's) currently I am using
Code:
SELECT Max(trID) as maxID FROM trData
Best Regards,
Sam