REPLACE on a semicolon
Solved
Thibaut
-
Thibaut -
Thibaut -
Hello,
Sorry, I couldn't find the space for SQL in the forum.
I'm looking to replace all semicolons in a table.
My current query:
But the ";" is causing issues....
Any ideas?
Configuration: Windows / Chrome 97.0.4692.99
Sorry, I couldn't find the space for SQL in the forum.
I'm looking to replace all semicolons in a table.
My current query:
UPDATE `prstshp_product_lang` SET `description_short` = REPLACE (`description_short`, ';' , ' ')
But the ";" is causing issues....
Any ideas?
Configuration: Windows / Chrome 97.0.4692.99
3 answers
yg_be
Posted messages
23437
Registration date
Status
Contributor
Last intervention
Ambassadeur
1 588
Hello,
which software are you using?
What is the problem with the ";"?
which software are you using?
What is the problem with the ";"?
Hello,
In PHPMyAdmin you need to modify the delimiter.
You can do it via a query
Otherwise, in the query execution tab, you have an option to change it manually if needed during your query
--
.
Sincerely,
Jordane
In PHPMyAdmin you need to modify the delimiter.
You can do it via a query
DELIMITER // UPDATE `prstshp_product_lang` SET `description_short` = REPLACE (`description_short`, ';' , ' ') DELIMITER ;
Otherwise, in the query execution tab, you have an option to change it manually if needed during your query
--
.
Sincerely,
Jordane
And everything works very well if I put any other character than the semicolon, but I get an error when I include it in the query.