MaumeeScott
Technical User
I would like to be able to insert a series of numbers based on a field. What I essentially have is an ID# that may be repeated in the table. What I would like to do is update a separate column and insert a 1 for the first instance, 2 for the 2nd, etc. The data would look like the following when I am finished.
ID# Line#
A 1
A 2
A 3
B 1
C 1
C 2
C 3
D 1
I would like to use SQL to insert the line#. Any help or insights are greatly appreciated.
Scott
ID# Line#
A 1
A 2
A 3
B 1
C 1
C 2
C 3
D 1
I would like to use SQL to insert the line#. Any help or insights are greatly appreciated.
Scott