Thanks. I talked to a programmer at work and he suggested something similar by adding a new column called flag to the old db, set the default as 0 and then when I select from the db, select those that are 0. As each record is added, set flag to 0 in the old db. When the script times out, just run it again and again, until it goes through the whole db.
It looks like your idea may be easier though. I'll give it a whirl first. Thanks.