How to create unique constraint in ODI
774785Jul 23 2010 — edited Jul 27 2010Hi
I have view at source side, I want to store source data to target interface table.
For that I need to create UNIQUE constraint at source side to identify the unique records.
I have composite primary key example as follow
desc Test_V;
orderID NUMBER,
itemNumber NUMBER,
productId NUMBER,
quantity NUMBER,
lot_number varchar2(80)
where
PRIMARY KEY (orderID, itemNumber,lot_number);
Some times, lot_number can be null, So, I can't use lot_number in composite key (as per requirement)
Please any body can help me on it
Thanks
Phani