I currently have a database that has a user profile table with a primary key of PatientID that auto-increments when a new patient is added to the table. I am importing data via SSIS from a similar table in another database that has it's own PatientIDs and some of those values overlap the PatientIDs in my destination table. I would like to ignore the PatientIDs from my source table, and have new PatientIDs created in my destination table that are a continuation of the PatientIDs currently there. For example:
Source PatientIDs:
100
101
102
103
Destination PatientIDs:
10
11
12
13
AFTER IMPORT
Destination PatientIDs:
10
11
12
13
14
15
16
17
How do I do this?
↧