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

Popular posts from this blog

javascript - THREE.js reposition vertices for RingGeometry -

javascript - I need to update the text of a paragraph by inline edit -

assembly - What is the addressing mode for ld, add, and rjmp instructions? -