Jump to content

This topic is 9163 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Help! I need to figure out how I can have my database assign an incrementing number, automatically, starting with 1 for each unique record for the specific group only.

Example: I have an assembly process (process id). Each process has any given number of steps, I need to auto number each step for that process id starting at number 1. I need this to happen for each unique process id.

I appreciate any help in resolving this, thanks.

Posted

Build a self join relationship where process id = process id. Set the next record process step = Max(self join::step no.) + 1. -bd

[This message has been edited by LiveOak (edited September 20, 2000).]

This topic is 9163 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.