Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Autoinc fields in dbisam4
Fri, Mar 27 2009 4:56 AMPermanent Link

Marilyn Fleming
If there can be two autoinc fields in the same table, what makes the values different?
How does LastAutoincValue work in the context of multiple autoinc fields in a table?
Fri, Mar 27 2009 2:33 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Marilyn,

<< If there can be two autoinc fields in the same table, what makes the
values different? How does LastAutoincValue work in the context of multiple
autoinc fields in a table? >>

They simply increment in a serial fashion - the first autoinc field gets the
next value, the second autoinc field gets the next value after that.  You
effectively end up with a staggered set of values.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image