mysql - SQL Updating column in records where only part of content is to be changed -
mysql - SQL Updating column in records where only part of content is to be changed -
in table xxx have column yyy links:
htttp://mysiteddress/items/cat32/2a.pdf htttp://mysiteddress/items/cat32/3a.pdf htttp://mysiteddress/items/cat32/4a.pdf . . .
i want create query alter cat32 cat22 have no thought how that. help me?
i assume should made somehow update query...
give shot:
update xxx set yyy = replace(yyy, 'cat32', 'cat22')
mysql sql
Comments
Post a Comment