QuestionQ56Verified/PL/SQL Language FundamentalsCopy linkReport a problemAsk AstroTutorSave questionWhich statement is true about counter variables in a FOR loop?AIt must explicitly be declared.BIt can be modified in the body of the loop.CIt cannot be NULL.DIt is accessible outside the body of the loop.Show AnswerAnswerExplanationIn a PL/SQL numeric FOR loop, the counter is assigned an integer value for each iteration and therefore cannot be NULL during an iteration. The counter is implicitly declared, read-only within the loop body, and local to that loop.Learn moreOracle Database 19c PL/SQL Language Reference: LOOP StatementsOracle Database 23ai PL/SQL Language Reference: LOOP StatementsShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion