一.定义都权限存储过程role无效,必须要显示授权
--建用户并都赋与DBA权限
create user yx identified by yx
create user jb identified by jb
grant dba to jb
grant dba to yx
--yx创建表
create table yx_tab
as
select * from dba_objects
where rownum<200
--jb用户sql语句可以正常
select * from yx.yx_tab;
--jb创建存储过程,编译时出错,提示表或视图不存在
CREATE OR REPLACE procedure test
as
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/27213118/viewspace-738694/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/27213118/viewspace-738694/