In the process of fixing a poorly imported database, problems arise due to the use of incorrect database encoding, or something like that.
In any case, returning to my question to fix these problems, I use the request of this form:
UPDATE table_name SET field_name = replace (field_name, search_text, 'REPLACE_TEXT);
Thus, if there are several columns in the table in which I work, I have to call this query for each column. And also, since not only one pair of things is required to start the search and replace, I must also call a query for each of these pairs.
So, as you can imagine, I run dozens of queries to fix one table.
I was wondering if there is a way to combine multiple find and replace in one query, for example, say, look for this set of things, and if it is found, replace the corresponding pair from this other set of things.
Or, if there was a way to request the form shown above, run somehow recursively, for each column of the table, regardless of their name or number.
Thanks in advance for your support, Titel