Sample data:
(Text Field)
ABC123456
123ABCDEF456
0123ABCD456
1234560ABCDE
We are looking to extract the numeric portion of the above.
We do not want leading zeros
We DO WANT trailing zeros.
The character count may be different for all data.
Based on the above, we would want the following results:
123456
123456
123456
1234560
Is there SQL code that can do this?
I’ve tried using MID but am having a difficult time with it.
Thank you for helping !
Michael