http://www.plus2net.com/sql_tutorial/replace.php
Ex:
To update the designation column to replace words like Sales with Marketing, use this:
UPDATE emp set designation=replace(designation, "Sales", "Marketing") where department='Marketing'
Ex:
To update the designation column to replace words like Sales with Marketing, use this:
UPDATE emp set designation=replace(designation, "Sales", "Marketing") where department='Marketing'
Comments
Post a Comment