I use an Informix database. I access the data of a table via the tool "dbaccess". I have currently saved data from a table via UNLOAD command to a CSV file.
I want to import the data into the integration environment into a table. However, some records already exist in my table.
Is there any way to skip records that already exist in the target table so that I don't have to delete that record from the import file and restart the data import in dbaccess via LOAD command?
Error when importing an existing record into a table:
268: Unique constraint (informix.pk_column_a) violated. 100: ISAM error: duplicate value for a record with unique key.
847: Error in load file row 1.
Example for an UNLOAD to a csv file:
UNLOAD TO /myfolder/example_file.csv DELIMITER ";"
SELECT * FROM example_table
;
Example for loading a file to a table:
LOAD FROM /myfolder/example_file.csv DELIMITER ";"
INSERT INTO target_table
;