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.
Thank you.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
thanks.
ASKER
Thank you for your reply, Patrick. but it did not return the result correctly.
FROM MyTable