1
Good morning. I need to replace a domain that is in several tables of the comic. That would be the correct form?
SELECT REPLACE('*', 'velho.dominio.com', 'novo.dominio.com');
As there are many tables I want the select to go through everything. Tables and lines
Thank you.
I don’t think this will solve it. I don’t know how big your database is but I believe that the best way would be to give a
dump
and thenfind
andreplace
. See if this does not help you.– 8biT
I found a better alternative... I downloaded the comic to the pc and then using Notepad++ I changed everything...
– Tiago
that’s exactly what @8bit said.
– Bulfaitelo
Don’t understand why not do an update? UPDATE table set = "new.dominio.com" Where domain = "old.dominio.com"
– Vinicius De Jesus