Hmm, This is an interesting angle of attack in importing tables.
I'm trying to do the same as thing as well.
My only differece is, the top level table already has existing records and its primary key is random long interger.
If I went ahead with this method, (to generate pk first using...