0 votes
in PL/SQL by

Is It Possible To Assign A Dynamic Value To A Loop Counter?

1 Answer

0 votes
by

Yes, it is possible to assign a dynamic value to the loop counter at the time of execution, as shown in the following code snippet:

In the preceding code snippet, the employee count is derived from the table at runtime and the counter is used to iterate the FOR-LOOP.

Related questions

0 votes
asked Mar 13, 2021 in PL/SQL by rajeshsharma
0 votes
asked Mar 18, 2021 in PL/SQL by sharadyadav1986
...