Overriding an identity column
Peter Davies
Posts: 5
New to the forums , new to the product. Dont know if this has already been dealt with.
I am generating data from an existing database and one of the tables is a product table. The Primary key is also an identity key. Strange as this may sound but I would like to be able to switch the identity insert on and off on my primary key identity column in my target database and use the existing product primary key for the data generator target dataabse.When I look at the column in the data generator software I dont see an override for this.
So is this possible. :?:
I am generating data from an existing database and one of the tables is a product table. The Primary key is also an identity key. Strange as this may sound but I would like to be able to switch the identity insert on and off on my primary key identity column in my target database and use the existing product primary key for the data generator target dataabse.When I look at the column in the data generator software I dont see an override for this.
So is this possible. :?:
Comments
Is there anyway of doing this, so the destination table retains the same Ids that the source table has?
Is there any way around this, as when sub tables get imported the Id of the parent table won't necessarily exist, which is a bit of a pain.