on 07-29-2015 7:40 AM
Hi,
During the loading of 1M rows into a table using the Load table - client file.
How can we handle, if row at 1000 does not meet the data integrity and loading of that row fails.
Can we identify that row alone and continue the loading of rest of the records.
Is there a way to design such cases.
Thanks in advance for your help.
Thanks,
Swathi
You should look at the ROW LOG and MESSAGE LOG options for LOAD TABLE.
... [ IGNORE CONSTRAINT constraint-type [, …] ] ... [ MESSAGE LOG ‘string’ ROW LOG ‘string’ [ ONLY LOG log-what [, …] ] ... [ LOG DELIMITED BY ‘string’ ]
You can set the loader up to ignore constraint violations on the way in to IQ (check, unique, null, foreign key, and data value). With the ROW LOG and MESSAGE LOG options, you can decide to just throw away the data and not save it, or have it logged into the ROW LOG file for further processing and investigation.
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.