QuestionQ44Verified/PL/SQL Language FundamentalsCopy linkReport a problemAsk AstroTutorSave questionWhich two statements are true about using the ACCESSIBLE BY clause?Choose twoAIt can be used in the declaration of object types.BIt must be specified in the heading of a package specification.CThe check is enforced by this clause for direct access and access through dynamic SQL.DIt can be used for individual procedures and functions declared in a package specification.EIt must be specified in the heading of a package body.Show AnswerAnswerExplanationThe ACCESSIBLE BY clause may be used in declarations of object types. It can also restrict access to an individual procedure or function declared in a package specification; that subprogram-level list can further restrict access beyond any list on the package itself. Access through dynamic SQL fails because the clause permits only direct calls.Learn moreOracle Database PL/SQL Language Reference: ACCESSIBLE BY ClauseOracle Database SQL Language Reference: CREATE PACKAGE StatementShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion