Hi,
I believe you have no problems with DB2 export, but may have problems with DB2 import.
The point about IDENTITY columns is just that - you can't insert into them. If you are able to tweak the table design at the target database a bit you can try to import into tables with GENERATED BY DEFAULT (or something, you will find out) column types. This should leave given references alone.
Some people strongly argue against using IDENTITY columns because you can't do SQL operations on such columns.
Johann
Quote:
Originally posted by zarconja
I have two related tables, each one of them has defined like primary key to a column type integer.
INTEGER GENERATED ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1, CACHE 10)
The problem is that I want to export all the data towards a structure of similar tables, but conserving the referential integrity, that is to say, with such data.
thanks....
|