"Insert and Update a Database"

DayoMDayoM MemberPosts:1Contributor I
edited June 2019 inHelp
Hi all,

Forgive me if this is a simple question. I am reading data from a csv file which matches a database table. The primary key of the db is composed of several fields. So far I have not had to much luck with inserting or updating because I get primary key violations. When you setup the file can you setup multiple id's that Match the db?
Tagged:

Answers

  • Nils_WoehlerNils_Woehler MemberPosts:463Maven
    Hi,

    you can use the update database operator and set the attribute filter type to subset. Then you have to select the attributes your primary key consists of.

    Here is an example:











    <参数键= " repository_entry " value = " / /Samples/data/Iris"/>











    Best,
    Nils
Sign InorRegisterto comment.