R
Rodrigo Caixeta
Hi everybody. I had a problem. I have a field that is an
global counter. When a user adds a new object I need to
get a new sequencial code. To prevent against a running
condition that potentially can happen when two or more
stations adds an object together I made an SQL that
updates the table that controls the identifier but I can´t
retrive its value in .NET. How can I do it??
SQL:
UPDATE SYS_SEQUENCE SET NextNumber = NextNumber + 1
I need to known the NextNumber that was increased by the
database.
thanks,
Rodrigo
global counter. When a user adds a new object I need to
get a new sequencial code. To prevent against a running
condition that potentially can happen when two or more
stations adds an object together I made an SQL that
updates the table that controls the identifier but I can´t
retrive its value in .NET. How can I do it??
SQL:
UPDATE SYS_SEQUENCE SET NextNumber = NextNumber + 1
I need to known the NextNumber that was increased by the
database.
thanks,
Rodrigo