What do you mean by a generated key? An identity key? If yes, you can change
the identity to accept the value from an insert operation. Look at By
Default on identity keys in CREATE TABLE or ALTER TABLE.
The only trick is if you insert records using existing keys it does update
the next identity key stored in the table. You need to issue an alter table
and reset the next identity key to be higher than the current highest key.
(look at As Identity Start with).
On Tue, May 31, 2011 at 2:13 PM, Raul A. Jager W. <raul@xxxxxxxxxx> wrote:
I have a file (table) with a generated key, and I added some fields and
reoganized others. Now I want to copy the old file into the new one,
including the generated key. Is it possible? Can I avoid generating new
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives