point well taken.
OK, let me back up....
Due to certain user requirements, I need to generate IDs (for the user's benefit).
The problem is that it's not as simple as that sounds, because they need IDs
of the form TOKEN1_TOKEN2_ID# where TOKEN1 and TOKEN2 are dynamically
chosen based on the user, and the ID# is an incremented integer per user event.
For example, it could be John_Doe_1 or Gavin_King_42. The key point is that the
next event from Gavin King would generate Gavin_King_43 (and there is no way
that this information could be stored at the user level)
This could almost be an Oracle sequence or SQLServer identity, but not quite (I think).
Compound this with the fact that we are either picking SQLServer or Oracle, but
which is not known at this time, and we may even have multiple deployments,
each using a different database vendor.
I am completely open to alternatives if you (or anyone else) has one.
Thanks for any help that anyone can give.
Raj
|