I'm copying tables from one db to another db by sending db2 commands to db2clp from my .net application.
first I set the auto generate identity to generated by default by using alter command.
then export table with export command.
then import tables into new db with import command
I need db2command to copy tables contains columns that are nullable.I get this from this error:
SQL3550W The field value in row "1" and column "1" is not NULL, but the
target column has been defined as GENERATED ALWAYS.
SQL3550W The field value in row "2" and column "1" is not NULL, but the
target column has been defined as GENERATED ALWAYS.