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

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

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (4,066)