Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

update part of a string in mysql

UPDATE table
SET field = REPLACE(field, 'string', 'anothervalue')
WHERE field LIKE '%string%';
 
PREVIOUS NEXT
Tagged: #update #part #string #mysql
ADD COMMENT
Topic
Name
7+5 =