QuestionQ7Verified/PL/SQL Language FundamentalsCopy linkReport a problemAsk AstroTutorSave questionWhich two statements are correct about the RETURNING clause when it is used with DML?Choose twoAWhen using the RETURNING INTO clause, the data returned can be only single column or expression.BThe RETURNING INTO clause and bulk binds may not be used together.CThe RETURNING INTO clause can be used with DML that affects multiple rows, if the BULK COLLECT clause is used.DThe RETURNING INTO clause returns column values for rows affected by DML statements.EThe RETURNING clause can be used for remote or parallel deletes.Show AnswerAnswerExplanationThe RETURNING INTO clause stores values returned from rows affected by INSERT, UPDATE, DELETE, or MERGE DML. When DML affects multiple rows, RETURNING BULK COLLECT INTO can store the returned values in collections. Oracle prohibits this clause for remote or parallel deletes.Learn moreOracle Database PL/SQL Language Reference: RETURNING INTO ClauseOracle Database SQL Language Reference: DELETEShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion