I need to create an automated process where we can enter a clients’ 3 letter prefix eg “ABC” and then take the next available number eg 2. I can then create the unique client reference, in this case ABC002.
My problem is that I can’t think of a smart way to get the auto-increment by prefix. Some clients make more requests than others, and it is important that each clients request is incremented by 1 from the last.
Any help would be appreciated, we are using Sql 2000.
Thanks in advance
mrees
My problem is that I can’t think of a smart way to get the auto-increment by prefix. Some clients make more requests than others, and it is important that each clients request is incremented by 1 from the last.
Any help would be appreciated, we are using Sql 2000.
Thanks in advance
mrees