Hi,
I am using an Oracle Connector stage to insert data in target table (datastage version 8.1). This table has a foreign key constraint on a parent table on State column. However this State column is a nullable column in my child table and I can see many records with Null values in State column in my child table.
The problem is when my job tries to insert a record in child table with Null value in State column this record is getting rejected with ORA-02291 error.
How can I insert records with Null value in State column via datastage jobs without this record getting rejected?
Thanks in advance.
Regards,
Praveen
ORA-02291 Error in Oracle conector stage
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 437
- Joined: Fri Oct 21, 2005 10:00 pm
Does the parent table allow null in the state column? If it does not allow null then you should not be attempting to insert a null into the child table else if allows a null and there is null present in the state table then you should not be getting this error.
Keith Williams
keith@peacefieldinc.com
keith@peacefieldinc.com