I have the following table: table_temp1
fields: plant, merknr, counter and the data is as follows
1105, 1111
1105, 2222
1105, 1111
1105, 2222
What I want to do is have a stored procedure to insert into the counter field, 10 for the first then 20, 30 for each of the plant and merknr... for examlpe:
plant, merknr, counter and the data is as follows
1105, 1111, 10
1105, 2222, 10
1105, 1111, 20
1105, 2222, 20
Start Free Trial