I'm working on a project to consolidate data (from 2 different DBs). I have created a table that contains a few columns:
- MAPPING_ID int
- ContentID int
- ContentValue varchar(200)
For Example, when I do my 1st set of inserts against the original data source everything is good.
ContentValue: Original Data 1
ContentValue: Original Data 2
But when I do my second set of inserts against the another source (the data I'm trying to merge) I would like the Mapping_ID column to continue to the next number (i.e. 55,56,57...)
I looked at the
function but that starts at 1. Is there a way to start it at 55?
I suppose I could make that Mapping_ID column an Identity field, but turn it off during the first insert and then seed it with the max value (54) and then turn it on during the second insert.
Is there another way to accomplish this?