what is the use of while loop in oracle pl sql
The PL/SQL WHILE Loop. The WHILE loop, also called a conditional loop, evaluates a condition before each loop executes, and if false, the loop is terminated. If the expression is false when the program reaches the WHILE loop, the loop code is jumped and never executed.Use a WHILE loop when the condition test is required at the start of the loop. The next example contains three WHILE loops.The last loop will never execute because the condition will never be true. The middle loop uses multiple condition tests, using the AND key word.se a WHILE loop when the condition test is required at the start of the loop. The next example contains three WHILE loops. The last loop will never execute because the condition will never be true. The middle loop uses multiple condition tests, using the AND key word.