Level 14
Hi using replace in a select query is something like:
SELECT REPLACE("SQL Tutorial", "SQL", "HTML");
A update query might look something like:
update postcodes set latitude = replace(latitude, ',', '.' )
Summer Sale! All accounts are 50% off this week.
good day,
I'm trying to replace something directly in my mysql database (5.7.28)
Using the following code:
SELECT latitude
FROM postcodes
REPLACE (latitude,',','.')
it gives a error. But i don't understand.
ou have an error in your SQL syntax;
Thanks for the help1
Please or to participate in this conversation.