cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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.

Thoughts?

Thanks!

image.png

2 ACCEPTED SOLUTIONS

Accepted Solutions
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,

Mabel      

    

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.

View solution in original post

Super User
Super User

Re: DB2 CONNECTOR: How to Get ALL Rows?

To turn on pagination:

  • Click the three dots on the DB2 action
  • Click Settings
  • Turn on pagination
  • Set max number of records to return

View solution in original post

4 REPLIES 4
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,

Mabel      

    

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.

View solution in original post

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?

Super User
Super User

Re: DB2 CONNECTOR: How to Get ALL Rows?

To turn on pagination:

  • Click the three dots on the DB2 action
  • Click Settings
  • Turn on pagination
  • Set max number of records to return

View solution in original post

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users online (4,730)