Question
Procedure to increment
I have a table with a recodID, partNumberID, partNumber. The
tabbe looks like this :
1 01 12345
2 01 99999
3 02 xxxxx
4 03 mmmm
5 04 98333
6 04 848344
The record id is unique and is 1,2,3 etc., the part number id can be the same so if there are two part numbers, they both have the same part number id. What I need to do now is add another column to the table called line item. So my above tabel example with the line item would look like this, part numbers with the saem partID would have line items 1,2, etc :
1 01 12345 1
2 01 99999 2
3 02 xxxxx 1
4 03 mmmm 1
5 04 98333 1
6 04 848344 2
My question is how do I insert the line item numbers so that the increment correctly ?
1 01 12345
2 01 99999
3 02 xxxxx
4 03 mmmm
5 04 98333
6 04 848344
The record id is unique and is 1,2,3 etc., the part number id can be the same so if there are two part numbers, they both have the same part number id. What I need to do now is add another column to the table called line item. So my above tabel example with the line item would look like this, part numbers with the saem partID would have line items 1,2, etc :
1 01 12345 1
2 01 99999 2
3 02 xxxxx 1
4 03 mmmm 1
5 04 98333 1
6 04 848344 2
My question is how do I insert the line item numbers so that the increment correctly ?
