Issue with Oracle enterprise

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
paddu
Premium Member
Premium Member
Posts: 232
Joined: Tue Feb 22, 2005 11:14 am
Location: California

Issue with Oracle enterprise

Post by paddu »

I have a table to popluate and key ID field is a oracle sequence .
There is a trigger on the table to populate sequence ID.

When i try to populate the tabe using Oracle Enterprise , it is looking for ID field in the table regardless of me not mentioning the field in the columns.

It throws a error

Not writing to column ID, and the field does not accept nulls.

Any idea on how to resolve ?

I am using the same logic in server edition job and i have no issue populating the table.

Please share your thoughts.
There is nothing good or bad, but thinking makes it so. --William Shakespeare
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What particular error message is thrown? It does no good to try to guess this.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
keshav0307
Premium Member
Premium Member
Posts: 783
Joined: Mon Jan 16, 2006 10:17 pm
Location: Sydney, Australia

Post by keshav0307 »

you said ID is a column in the oracle table, then why don't you have that in your job to populate?
Post Reply