SQL to find first non-numeric character in a string

You can use PATINDEX with a pattern like '%[^0123456789]%' or '%[^0-9]%' to find the position of the first non-numeric character

Leave a Comment