# Help for add only new rows

**URL:** <https://forum.knime.com/t/help-for-add-only-new-rows/24623>\
**Category:** KNIME Analytics Platform\
**Created:** [June 16, 2020, 10:39am UTC](https://forum.knime.com/t/help-for-add-only-new-rows/24623 "2020-06-16T10:39:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leophil](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/l/b2d939/32.png) [@Leophil](https://forum.knime.com/u/Leophil)\
**Post date:** [June 16, 2020, 10:39am UTC](https://forum.knime.com/t/help-for-add-only-new-rows/24623/1 "2020-06-16T10:39:31Z")

</div>

Hi,

I’m new in knime, i’m using in general Powerquery and M language for making my “ETL”  
But i decide to try with Knime this time.  
I have searched the solution to my problem in google but i don’t find ,… could you please help me ? (sorry if it’s a stupid question)

I have somes files in xls that are refreshed every month (Same columns every files) and i need to import only new rows in a accessdata base

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/6/5/65488452017b193de8b6417fff3f49874d5dcb84.png)

Thanks for your help

---

<div class="post-metadata">

**Author:** ![izaychik63](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/i/e9a140/32.png) [@izaychik63](https://forum.knime.com/u/izaychik63)\
**Post date:** [June 16, 2020, 11:15am UTC](https://forum.knime.com/t/help-for-add-only-new-rows/24623/2 "2020-06-16T11:15:09Z")

</div>

You can try

> **[DB Merge — NodePit](https://nodepit.com/node/org.knime.database.node.io.merge.DBMergeNodeFactory)**
>
> Merges (insert or updates) rows in the database based on the values of the selected columns from the KNIME 
> input table.

  
instead of DB Update.

---

<div class="post-metadata">

**Author:** ![Leophil](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/l/b2d939/32.png) [@Leophil](https://forum.knime.com/u/Leophil)\
**Post date:** [June 16, 2020, 11:25am UTC](https://forum.knime.com/t/help-for-add-only-new-rows/24623/3 "2020-06-16T11:25:35Z")

</div>

i try this but i have this error :

Execute failed: UCAExc:::4.0.4 user lacks privilege or object not found: COUNTER

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/5/a/5a71b5834619575118a1771e564908a37a6f20eb.png)

---

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [June 16, 2020, 3:23pm UTC](https://forum.knime.com/t/help-for-add-only-new-rows/24623/4 "2020-06-16T15:23:28Z")

</div>

Maybe you can have a look at this example

> **[demonstrates the use of DB Update and DB Merge – mlauber71](https://hub.knime.com/mlauber71/spaces/Public/kn_example_db_update_merge~PnZvofZAQXfIjLq9/current-state)**
>
> demonstrates the use of DB Update and DB Merge

You might want to check if MS Access supports the operation. In this example it does work:

> **[demonstrates the use of DB Update and DB Merge with MS Access DB – mlauber71](https://hub.knime.com/mlauber71/spaces/Public/kn_example_db_update_merge_ms_access~lHWOocLRRffIhpBL/current-state)**
>
> demonstrates the use of DB Update and DB Merge with MS Access DB alse: extract some mea information from information\_schema

–  
Edit: [KNIME, Databases and SQL. TL;DR: use the power of SQL databases… | by Markus Lauber | Low Code for Data Science | Medium](https://medium.com/low-code-for-advanced-data-science/knime-databases-and-sql-273e27c9702a)

---

<div class="post-metadata">

**Author:** ![ipazin](https://forum-cdn.knime.com/user_avatar/forum.knime.com/ipazin/32/806_2.png) [@ipazin](https://forum.knime.com/u/ipazin)\
**Post date:** [June 17, 2020, 11:12am UTC](https://forum.knime.com/t/help-for-add-only-new-rows/24623/5 "2020-06-17T11:12:28Z")

</div>

Hi there @Leophil,

Why have you added Counter Generation to your table? Error you are seeing is probably because you don’t have Counter column (created with above mentioned node) in your database and DB nodes require exact column match. Maybe you need to rename it or use some other column in WHERE clause?

You are free to ask questions here (even stupid ones although I would call this one stupid) and answer them as well 😉

Welcome to KNIME Community!

Br,  
Ivan

---

<div class="post-metadata">

**Author:** ![Leophil](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/l/b2d939/32.png) [@Leophil](https://forum.knime.com/u/Leophil)\
**Post date:** [June 22, 2020, 7:55am UTC](https://forum.knime.com/t/help-for-add-only-new-rows/24623/6 "2020-06-22T07:55:34Z")

</div>

Thanks for your help. It’s working. 🙂  
Regards,

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [December 21, 2020, 8:00pm UTC](https://forum.knime.com/t/help-for-add-only-new-rows/24623/7 "2020-12-21T20:00:43Z")

</div>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
