I have three variables
@Emp ='Select EmpName from Employee',@Department ='Select DeptName from Department',@Customer ='Select Custname from Customer'
and I have destination table
Output :
ID tbl_statement1Select EmpName from Employee2Select DeptName from Department3Select Custname from Customer
Image may be NSFW.
Clik here to view.
I'm able to insert one record but how can I loop using For Loop container into destination table using SSIS.