Hi,
I am trying to add a column to a table of selected data that steps up in order i.e. the first line is 1 the second line is 2 the third line is 3 etc where the ID of the one of the other columns is the same. When the ID changes i want to reset the counter to 1 again and start again
I have tried for ages to try and build this into a cursor but with no luck. I dont suppose anyone has got anything that they have written before that could help have they?
Many thanks in advance for your help
Matt
I am trying to add a column to a table of selected data that steps up in order i.e. the first line is 1 the second line is 2 the third line is 3 etc where the ID of the one of the other columns is the same. When the ID changes i want to reset the counter to 1 again and start again
I have tried for ages to try and build this into a cursor but with no luck. I dont suppose anyone has got anything that they have written before that could help have they?
Many thanks in advance for your help
Matt