Question

thanksCan anyone please explain this sample program in D

0 0
Add a comment Improve this question Transcribed image text
Answer #1
  • Application Engine first executes the Select Statement in Do While Action.
  • Condition gets satisfies as there are 10 rows.(At least one row needed)
  • Inserts first employee AA into State Record and continues the execution with rest of the Actions.
  • In People Code, message will be displayed as

No of Rows in ABC Table: 10

Employee ID in State Record: AA

  • In SQL Action, Top 5 rows in descending order (JJ, II, HH, GG, and FF) will be deleted.
  • Application Engine again executes the Select Statement.
  • Condition gets satisfies as there are 5 rows.(At least one row needed)
  • execution with rest of the Actions.
  • In People Code, message will be displayed as

No of Rows in ABC Table: 5

Employee ID in State Record: AA

  • In SQL Action, Top 5 rows in descending order (EE, DD, CC, BB, and AA) will be deleted.
  • Application Engine again executes the Select Statement.
  • Condition gets fail as there are no rows.(At least one row needed)
  • Comes out from the Step and as there are no other section to execute, program will end.
Add a comment
Know the answer?
Add Answer to:
thanks Can anyone please explain this sample program in Do While action MAIN Step %Select(EMPLID) SELECT...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
Active Questions
ADVERTISEMENT