What do you mean by "tables"? Could you please provide the structure you want to insert the data?
Also, your requirement of "load all the values into a table" seems contradictory to your first statement.
Please clarify.
Best way to get further assistance would be to provide target table structure together with a sample of expected results. The approach itself in general sounds doable.