Showing results for 
Search instead for 
Did you mean: 
Super User
Super User

DB2 CONNECTOR: How to Get ALL Rows?

In the DB2 Get Rows Action, there is a `Maximum Get Count` field. Its set to `256` by default. How do I set it to get ALL rows from a table?

I don't want to look in the table with another tool first, determine the number of rows, and put a number higher than this.

I tried putting `6000` for the value and it ignored it, still brought back 256.

I also tried `*` but it wants an INT.




Community Support Team
Community Support Team

Re: DB2 CONNECTOR: How to Get ALL Rows?

Hi @ericonline ,


Have you tried to turn on Pagination and set its Threshold to its Maximum value to see if it works?


Pagination enables you to handle more records than are returned in a single call from a service. Please take a try with it on your side.


Best regards,



Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Super User
Super User

Re: DB2 CONNECTOR: How to Get ALL Rows?

Hi @v-yamao-msft , 


Thank you for the reply. Where would I turn on Pagination? Is this a setting in the DB2 database itself?

Super User
Super User

Re: DB2 CONNECTOR: How to Get ALL Rows?

Helpful resources


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users Online
Currently online: 359 members 6,403 guests
Please welcome our newest community members: