QuestionQ32

VerifiedPL/SQL Language Fundamentals

Examine the following statements, which run successfully:

Question Image

Which anonymous block executes successfully?

Explanation

For a table containing an invisible column, a PL/SQL record declared with t%ROWTYPE has fields only for the visible columns. Thus t_rec has a and b, but no c. An assignment involving t_rec.a and t_rec.b is valid, and SELECT * INTO t_rec populates those visible fields from the row.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!