Unique Constraints.

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
karry450
Participant
Posts: 201
Joined: Wed Nov 14, 2007 11:31 pm
Location: HYD

Unique Constraints.

Post by karry450 »

Hi friends,

My source is oracle and also target but I am using oracle bulk load stage.

But I am not getting an unique constraint error when loading the same data in target for the second time.

I have checked and my target is defined with primary keys.


Can anyone help is it possible to handle/reject duplicate records using oracle bulk load stage in server jobs.

Thanks
Karthik
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Prevention is always better than cure.

If you can't manage that, then the duplicates should be discarded into the sqlldr "bad" file and mentioned in the "log" file.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply