I have a table that contains 4 records. Each record has a different contract number (some are prefixed by alpha characters, some are not).
ABC-1234561
MMT-4589741
4597891
8974441
In my query I need to be able to retrieve only the numeric portion:
1234561
4589741
4597891
8974441
Is there a way to do this?
My current code (see below) works but only on those that have prefixes.
SUBSTR(PROJECTS.SPONSOR_NU
MBER,5,7),
Thanks for your help.
Start Free Trial