QuestionQ4Verified/PL/SQL Language FundamentalsCopy linkReport a problemAsk AstroTutorSave questionWhich two statements about INDEX-BY tables are true?Choose twoAThe index can be integer or string.BThe index can be integer only.CINDEX-BY table types can be created in PL/SQL blocks only.DINDEX-BY table types can be created both with the CREATE TYPE statement and in PL/SQL blocks.EINDEX-BY table types can be created with the CREATE TYPE statement.Show AnswerAnswerExplanationAn INDEX-BY table, also called an associative array, can use either a PLS_INTEGER index or a string index. Associative-array types are declared in PL/SQL blocks or packages; CREATE TYPE supports nested-table and VARRAY types, not associative-array types.Learn moreOracle Database PL/SQL Language Reference — Collection Variable DeclarationShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion