QuestionQ71Verified/Manipulating DataCopy linkReport a problemAsk AstroTutorSave questionWhich two statements are correct about a conditional INSERT ALL?Choose twoAEach row returned by the subquery can be inserted into only a single target table.BA single WHEN condition can be used for multiple INTO clauses.CEach WHEN condition is tested for each row returned by the subquery.DIt cannot have an ELSE clause.EThe total number of rows inserted is always equal to the number of rows returned by the subquery.Show AnswerAnswerExplanationIn a conditional INSERT ALL, a WHEN clause has a corresponding list of INTO clauses, so one WHEN condition can apply to multiple INTO clauses. Oracle evaluates each WHEN clause independently for every row returned by the subquery; each condition that is true executes its associated INTO clause list.Learn moreOracle Database SQL Language Reference — INSERTShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion