I would create a EG project that creates your predefined table by using the query task and then modify the query depending on which columns you want.
You can easily copy/paste the query if you want multiple tables with different columns.
I think it is possible to achieve what you want by coding, but I wonder if it is worth the time/money to do that instead of using the standard tasks.
//Fredrik
... View more