【文章內(nèi)容簡(jiǎn)介】
39。執(zhí)行結(jié)果:5.用系統(tǒng)帳戶sys登錄數(shù)據(jù)庫(kù),創(chuàng)建用戶user_three,將角色權(quán)限D(zhuǎn)BA授予用戶user_three,并將S、P、J、SPJ四張表導(dǎo)入到user_three模式下。語(yǔ)句:create user user_three identified by 123456 default tablespace users temporary tablespace temp quota unlimited on users。grant dba to user_three。執(zhí)行結(jié)果: 6.使用user_three登錄,完成如下授權(quán),在user_one和user_two用戶下執(zhí)行相應(yīng)的SQL語(yǔ)句驗(yàn)證授權(quán)是否成功。(1)把對(duì)表S的INSERT權(quán)力授予用戶user_one,并允許他再將此權(quán)限授予其他用戶。語(yǔ)句:grant insert on s to user_onewith grant option。執(zhí)行結(jié)果:(2)用戶user_two對(duì)S,P,J三個(gè)表有SELECT和INSERT權(quán)力語(yǔ)句:grant select,insert on s to user_two。grant select,insert on p to user_two。grant se