单项选择题
Youwanttoenabletheuser,Scott,tochangetotheGRP1consumergroupbyissuingthefollowingcode:SQL>EXECDBMS_SESSION.SWITCH_CURRENT_CONSUMER_GROUP(’SCOTT’,’GRP1’,FALSE);Howwillyougranttheswitchprivilegetotheuser,Scott?()
A.byusingtheDBMS_SESSIONpackage
B.bygrantingtheDBArole
C.byusingtheDBMS_RESOURCE_MANAGERpackage
D.byusingtheDBMS_RESOURCE_MANAGER_PRIVSpackage
A.SWITCH_CURRENT_CONSUMER_GROUP(’SCOTT’,’GRP1’,FALSE);Howwillyougranttheswitchprivilegetotheuser,Scott?()
A.byusingtheDBMS_SESSIONpackage
B.bygrantingtheDBArole
C.byusingtheDBMS_RESOURCE_MANAGERpackage
D.byusingtheDBMS_RESOURCE_MANAGER_PRIVSpackage