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

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -