Categorized: Database

Changing Part of a String in SQL and Updating the Table

Something like this:

update `table_name` set `field_name` = replace(`field_name`, 'text_to_replace', 'new_text')

Sources

Comments

Nothing to see here yet. Start things off, why don't you?

What do you think about that?

Elsewhere in the empire: Home, Blog, APOD