原帖由 numenhuang 于 2007-9-10 15:11 發(fā)表
create or replace procedure test
as
cursor cc is select * from YYYY;
begin
null;
end;
/
能否創(chuàng)建
原帖由 numenhuang 于 2007-9-10 15:51 發(fā)表
sqlplus system
sql>select * from dba_synonyms where synonym_name='YYYY'
貼出來看看
create or replace procedure test
as
cursor cc is select * from 同義詞基表用戶.同義詞基表;
begin
null;
end;
原帖由 numenhuang 于 2007-9-10 16:32 發(fā)表
測試一下:
connect COMMON_LSGJ
grant select on COMMON_LSGJ.IM_PR_NOSECT to FSZW_LSGJ;
connect FSZW_LSGJ
SQL> create or replace procedure test
2 as
3 cursor cc is select * from COM ...
歡迎光臨 Chinaunix (http://72891.cn/) | Powered by Discuz! X3.2 |