How to format a numeric column as phone number in SQL

Viewed 161938

I have table in the database with a phone number column. The numbers look like this:

123456789

I want to format that to look like this:

123-456-789
10 Answers
Related