G
Guest
I have a table of over 50k entries that are linked to various categories by
the category ID number. I need to re-map this entries to new category ID's
the problem I have is that this database was set up using incremental ID
numbers, so if i try to replace categoy ID 5 with 1641, then every instance
of the number 5 is replaced, so you can imagine waht it does to 155
(116411641) so this is obviously going to bugger things up. Also these
entries are linked to multiply categories, which are displayed comma
delimited, i.e. 5,28,146,223.
Is there a query I can write that will only replace the exact ID number I
want and not every instance of that number inside any other ID number??
the category ID number. I need to re-map this entries to new category ID's
the problem I have is that this database was set up using incremental ID
numbers, so if i try to replace categoy ID 5 with 1641, then every instance
of the number 5 is replaced, so you can imagine waht it does to 155
(116411641) so this is obviously going to bugger things up. Also these
entries are linked to multiply categories, which are displayed comma
delimited, i.e. 5,28,146,223.
Is there a query I can write that will only replace the exact ID number I
want and not every instance of that number inside any other ID number??