# Loop through the database

**URL:** <https://forum.knime.com/t/loop-through-the-database/11709>\
**Category:** KNIME Analytics Platform\
**Created:** [July 30, 2018, 1:47am UTC](https://forum.knime.com/t/loop-through-the-database/11709 "2018-07-30T01:47:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wangdexue\_123](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/w/cdc98d/32.png) [@wangdexue\_123](https://forum.knime.com/u/wangdexue_123)\
**Post date:** [July 30, 2018, 1:47am UTC](https://forum.knime.com/t/loop-through-the-database/11709/1 "2018-07-30T01:47:17Z")

</div>

dear:  
This is my first post, I want to implement a function: read the contents of the table in the database at regular intervals. I didn’t find such a node, so I thought of using loops, but the loop connection node that is connected to the database does not match the interface. For example, the interface connected to the left side of the database reader is square, and our existing loop start node interfaces are all triangular. . Is there a solution to my problem?

 ![%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20180730095021](https://forum-cdn.knime.com/uploads/default/original/2X/c/cbd6d81ea1c04654d71f09ad2e10c6291fccfefb.png)

---

<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:** [July 31, 2018, 12:45pm UTC](https://forum.knime.com/t/loop-through-the-database/11709/2 "2018-07-31T12:45:02Z")

</div>

Hi there!

here is a picture of how I made it to read multiple tables from database with loop. I have a configuration file within database with list of tables to read and then Table Row to Variable Loop Start starts a loop.

Also there is a database looping node but not sure how to use it so check it yourself. 😉

 ![image](https://forum-cdn.knime.com/uploads/default/original/2X/0/002ca3e3f2586df01260fafa4495ab67f19fbd0e.png)

Br,  
Ivan

---

<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:** [June 23, 2023, 8:30pm UTC](https://forum.knime.com/t/loop-through-the-database/11709/3 "2023-06-23T20:30:23Z")

</div>


