SELECT SUBSTRING('1035442030',1,3) + '-' + SUBSTRING('1035442030',4,3) + '-' + SUBSTRING('1035442030',7,4)
Hello,
Use Concat function as following way
select CONCAT('+1-' ,left( src , 3 ), '-', substring( src , 4 , 3 ), '-' , substring ( src , 7 , 4 )) as src from mytable
Hope this helpful!
Thanks