Avatar of tanj1035
tanj1035

asked on 

how to extract last 6 digits from a varchar, sql

hi experts, I want to extract last 6 digits  from 227-78-7834 (this is a varchar), the result will be 787834.

Thank you.
Microsoft SQL Server

Avatar of undefined
Last Comment
tanj1035

8/22/2022 - Mon