
Originally Posted by
Gaby
Be careful with that, catalog_items.item_ids isn't called item_IDS for nothing, it can contain multiple IDs semicolon separated.
This is true. I haven't encountered any issues by using this code. But another query that only fixes names that are broken would be:
Code:
UPDATE catalog_items INNER JOIN items_base ON catalog_items.catalog_name = items_base.item_name SET catalog_items.catalog_name = items_base.public_name
This takes much longer, but is more meticulous (Note: change the names of the columns to fit your database if you're not using Arcturus)