I have an Excel sheet (input) where it hold customer and address information in one sheet. I wanted to transfer to two different table with reference of CustomerID .
Example: Excel sheet - CustomerName,First Name, Last Name, Phone,Job Type,Designation ,Address,Zipcode
Need to transfer to below tables
SQL = Table 1 Customer - CustomerId, First Name,Last Name , Phone ,Job Type,Designation Table 2 Address - AddressId ,CustomerId , Address , Zipcode
I can able to transfer the information independently using SSIS without any relation between two tables. but how to get the customerId from customer table insert into address table at the time of package execution.
Any idea would be appreciated.