Quote:
|
Originally Posted by ahmedwaseem2000
I mean at times when we have to do a bulk load and to avoid the load failures we enable the constraint mode to filter which would write all the records that fail a constraint to an error table. So, I was just curious if there is something similar like this in DB2
|
There is a similar capability in DB2, although it is not a table property but rather an option that you can choose when running a LOAD command or enable the referential integrity by SET INTEGRITY. Exceptions then will be moved into an exception table instead of causing the command to fail. You will find details in the manuals, the link to which has been already provided.