views:

18

answers:

1

Hi, how to insert to a identity column using sequences in DB2?

Thanks in advacne

A: 

INSERT INTO Table1 (seq, val1, val2 ...) VALUES (NEXTVAL FROM seq, val1, val2...)

nitroxn