Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: jamesI have a file with thousands of rows
Each row (record) has several fields
Two of the fields indicate a range - the "start" and "end" value of a range.
I want to create a new record for each value in that range.
current data
data-1 start-range end-range
--------- ------------ -----------
aaaaa 1 3
aaaaa 23 25
desired result
data-1 range-value
--------- ------------
aaaaa 1
aaaaa 2
aaaaa 3
aaaaa 23
aaaaa 24
aaaaa 25
Does anyone have a code solution for this?