Destination tables are as follows:

The source table is as follows:
Client
CustomerId FirstName LastName Email Address1 Address2 City Postcode
The table of persons in the target table is the base table (which will later be inherited by the new client table). So I'm trying to export a row from one table and populate 3 tables at the destination.
I managed to do it as follows:
- Get records from the source table (Customer)
- Create an empty AddressId field
- Fill in the address table using the OLE DB command line (it calls a stored procedure that returns SCOPE_IDENTITY (), which is displayed in the AddressId field)
- Repeat step 3 to populate the Person table (and retrieve PersonId
- Configure the PersonAddress cross-reference table using the PersonId and AddressId fields.
A screenshot of this package is below.
The biggest problem with this approach is that the OLE DB command task inserts line by line and makes the whole package extremely slow. Is it possible to achieve the same, but using fast boot?

I can do this with the OLE DB Command, which calls a stored procedure, and then
sql identity cross-reference ssis
ilija veselica
source share