For each row-
Insert into organizations table if the record does not exist, returning ID.
Insert into people using that ID.

Else, load all the data with empty ID column on person table,then just
update the person table afterward and drop the org name column.

Perhaps I am missing something.

Reply via email to