Du kan blot bruge REPLACE()
:
SELECT REPLACE(t.mobile,'+91','') as mobile
FROM YourTable t
Eller hvis du vil ændre det i databasen :
UPDATE YourTable t
SET t.mobile = REPLACE(t.mobile,'+91','')
Du kan blot bruge REPLACE()
:
SELECT REPLACE(t.mobile,'+91','') as mobile
FROM YourTable t
Eller hvis du vil ændre det i databasen :
UPDATE YourTable t
SET t.mobile = REPLACE(t.mobile,'+91','')