| Message: 63515 |
 |
BY: Philip Nelson (scotdb) DATE: 2009-01-02 11:58 SUBJECT: RE: Moving table to a new database And I also forgot to say that you may need to use the ALTER TABLE command to reset the current identity column value -
db2 "select max(id-col) from table"
db2 "alter table test alter id restart with <max-val-+-1>"
HTH
Phil Nelson
(teamdba@scotdb.com) | |