4
hi cybermongo
the problem, maybe, will be, that the storyid you find also in the other tables like stories_files.
I would recommend:
1) add a new column "storyid_new" to your table stories
2) Update this column by new storyid, e.g. if the max storyid from the other database is 2000 then run sql
UPDATE stories SET storyid_new = storyid + 2000;
3) Update the values from the other tables with storyid_new
UPDATE stories_files a JOIN stories b
ON a.storyid = b.storyid SET a.storyid = b.storyid_new
4) do the same with the other tables which are using storyid