[progress Communities] [progress Openedge Abl] Forum Post: Query Performance - How Can You...

  • Thread starter Thread starter jmartin104
  • Start date Start date
Status
Not open for further replies.
J

jmartin104

Guest
Let me try to explain with an example: for each customer: for each order of customer: /* do something */ end. How do we know the number of server hits it would take to complete to return the query results? Why would you choose (if ever) to loop through customer first and create a temp table and then use that temp table to loop through the order table? Note: in one sample case, customer would have less than 100 records while order could have thousands. My big question is would it matter if the customer records are better gathered into a temp table first.

Continue reading...
 
Status
Not open for further replies.
Back
Top