Updating database

Good morning.

How do i update my database if my datatable contains both data which is currently in the database and new data


For this you can always filter currently database data with new data you are trying to insert

If Filter Data table has rows then it is a existing database in database, If not it is new data

If you want to insert new data then you can execute query or else you can skip

do with For each row Activity

Hope this helps