I have multiple records with the following structure ...
RO1NR04913-01
RO1NR04913-01A1
RO1NR04913-02
RO1NR04913-03
If, e.g., 01A1, then it has an amendment, if it falls into the next year the amendment is dropped and it becomes 02.
I need to find the latest record, so in the example above, it would be the -03 result. If -02 and -03 did not exist, then the latest record would be 01A1.
Does anyone have a substr query that would retrieve the latest results? Thanks in advance!
RO1NR04913-01
RO1NR04913-01A1
RO1NR04913-02
RO1NR04913-03
If, e.g., 01A1, then it has an amendment, if it falls into the next year the amendment is dropped and it becomes 02.
I need to find the latest record, so in the example above, it would be the -03 result. If -02 and -03 did not exist, then the latest record would be 01A1.
Does anyone have a substr query that would retrieve the latest results? Thanks in advance!