Upper Bound in FOR loop does not get altered in loop,Why?

This behavior is as specified in the documentation: FOR-LOOP The range is evaluated when the FOR loop is first entered and is never re-evaluated (Oracle Documentation).

This behavior is as specified in the documentation: FOR-LOOP ... The range is evaluated when the FOR loop is first entered and is never re-evaluated. (Oracle Documentation).

Generally, FOR loops would be fixed iterations For indeterminate looping, use WHILE This isn't Oracle specific, and why there are separate looping constructs.

While it is generally considered a bad idea to change the loop variable's value, sometimes it seems like the only way to go. However, you might find that loops are optimized, and that might be what is happening here.

There's nothing preventing the language designers from saying "The upper bound of the for loop is evaluated only once". This appears to be the rule that plsql is following here.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions