Reputation: 61
I currently have a table with \paths\, but they need to be /paths/. Does anyone know what query I need to run in myPHPadmin to get it fixed?
Upvotes: 1
Views: 3962
Reputation: 1544
SQL has replace function. Here is the link to mySQL docs.
update tablename set columnToUpdate = replace(columnToUpdate, '\\', '/');
Upvotes: 2