SQL Server - Filter field contents to numbers only

Posted by Alex on Stack Overflow See other posts from Stack Overflow or by Alex
Published on 2010-05-26T21:47:50Z Indexed on 2010/05/26 21:51 UTC
Read the original article Hit count: 198

How can I copy the value of a field, but only its numbers?

I am creating a computed column for fulltext search, and I want to copy the values from my Phone Number fields (which are varchar) into it, but not with their formatting - numbers only. What is the command that would do this in my computed column formula?

Thank you!

© Stack Overflow or respective owner

Related posts about sql

Related posts about sql-server