Skip to content
Advertisement

MySql trigger to replace text

everybody!

I have a trigger to replace text BEFORE INSERT to table, i have a text in which need change one word

But this command change all text who contain word weight to svars.

Thanks

P.S. I read a documentation on sql but can’t find the correct definition ????

Advertisement

Answer

If you need to replace a word in text, then use replace():

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement