QuestionQ58Verified/PL/SQL Language FundamentalsCopy linkReport a problemAsk AstroTutorSave questionReview the following code: What will be the result?AIt will execute successfully and will display the user-defined error message.BIt will result in an error as the range of the error code can only be from “-20000 to -20999.”CIt will result in an error as the range of the error code can only be from “-1000 to -2000.”DIt will result in an error as the range of the error code can only be from “-2000 to -2999."Show AnswerAnswerExplanationRAISE_APPLICATION_ERROR accepts application error numbers only from -20000 through -20999, inclusive. The value -3167 is outside that range, so Oracle raises an error for an invalid error-number argument instead of issuing the specified user-defined message.Learn moreOracle Database Error ORA-21000Oracle PL/SQL Language Reference: Raising Exceptions ExplicitlyShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion