QuestionQ12Verified/PL/SQL Language FundamentalsCopy linkReport a problemAsk AstroTutorSave questionWhich two statements are true concerning collections and RECORD types?Choose twoAA variable of RECORD type can contain fields of another RECORD type or any collection type.BOnly associative arrays and nested tables can have elements of RECORD type.CAll collections and RECORD types can be defined in PL/SQL blocks, packages, or at the schema level.DCollections and RECORD types are always dense.EAll collections and RECORD types can be stored in table columns.FVARRAYS, nested tables and each field in %ROWTYPE type variables have a default value of null.Show AnswerAnswerExplanationA RECORD can contain fields whose types are other records or collections. Uninitialized VARRAY and nested-table variables are atomically NULL, and record fields default to NULL unless an initialization rule specifies otherwise; this includes fields in %ROWTYPE variables.Learn moreOracle Database 19c PL/SQL Language Reference: PL/SQL Collections and RecordsOracle Database 19c PL/SQL Language Reference: Record VariablesShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion