0
I have a MYSQL table with the registration of people that phones are formatted this way.
519995150105 5133116284 51991178789 51999862438
What I need is a command to format the phones to look like this:
(51)9995150105 (51)33116284 (51)991178789 (51)999862438
Here you already have an answer https://answall.com/questions/113641/formatr-mascarar-cpf-no-mysql-ou-pdo ... but you can use native substring functions to update, it should be easier.
– Luiz