Hi @df - I think I would convert the workflow to a Batch Macro so that each table gets created one by one. I would set up a control parameter that contains the create table statement and updates the PreSQL configuration with each loop. You would also want to change the Output Options to Append Existing as the table would get created in the PreSQL. A sample of what this might look like is below. Alternatively, you could update the PostSQL to assign the primary key after the table is written.