费庆龄 发表于 2013-8-16 16:31:59

[Oracle interview]What is the difference between a while statement and a do statement?

程旭媛 发表于 2013-8-16 16:34:30

A whilestatement checks at the beginning of a loop to see whether the next loopiteration should occur. A do statement checks at the end of a loop to seewhether the next iteration of a loop should occur. The do statement willalways execute the body of a loop at least once.
页: [1]
查看完整版本: [Oracle interview]What is the difference between a while statement and a do statement?