cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Community Champion
Community Champion

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
Community Support

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

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
Community Support

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

Hi @v-yamao-msft , 

 

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

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
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (5,708)