Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Want to remove specific charcters and number from 1 column

$
0
0

Hello Team

I have 5 column  table which name is content, here is below content table which is already created in my database

name,mobile, address, city,participated

where in column mobile there is i have want to keep only 10 digit numbers but as of now there are many numbers is wrong format which i want to do proper formatting of it

Most of the numbers start with wrong numbers which i want to remove

1> number start with 91

2> Number start with 022

3> Number start with 22

so how can i remove this starting number which start with 91 or 22 or 022 with SQL query

Here is some example of Mobile column

Mobile

919930809662
0229930809662
0229930809661
229930809662
919930809661

so how we can remove mention numbers using query

Thank you in advance..


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>