Page 1 of 1

use uniloader on auto increase column

Posted: Fri 21 Jun 2013 02:13
by allegro
When I insert record into Oracle with uniloader, How to use auto increase column?
eg, sql: insert tab_a (id, name) value (id.nextval, 'tom');

Re: use uniloader on auto increase column

Posted: Fri 21 Jun 2013 10:45
by DemetrionQ
Hello.

Sequence cannot be used in TUniLoader. To solve the problem, you should create a trigger, that will fill in the "auto increase" column (using sequence) when inserting a new record.