Eric, first of all thank you for your answer. I am starting now in SSIS tasks and your help is really usefull :)
I have created a loop which the driver is a table where each line has 2 columns: TABLE_NAME (contains each table name) and SQL_COMMAND where i have the sql instruction: "SELECT * FROM TXXXX" XXXX - is the name of the table.
example DRIVER TABLE:
TABLE_NAME SQL_COMMAND
TW4A0 SELECT * FROM TW4A0
TW4B0 SELECT * FROM TW4B0
I call the child package passing this 2 columns:
In the child package i use OLE DB SOURCE where i want to use the variable SQL_COMMAND with the value "SELECT * FROM TXXXX"
this is just to migrate to another database thru OLE DB destination where i use the value of column TABLE_NAME to load data.
tks
João Silva