Posts by Marcel Leandro • 11 points
1 post
-
1
votes5
answers6773
viewsA: Separate ddd from phone with SQL statement
select left( convert(bigint,replace( replace([Telefone],' ',''),'NULL','')),2) as DDD, Substring( convert(varchar(255),convert(bigint,replace( replace([Telefone],' ',''),'NULL',''))),3,11)…