本月博客排行
-
第1名
wy_19921005 -
第2名
mft8899 -
第3名
benladeng5225 - Anmin
- wddpwzzhao123
- duanfei
年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
wy_19921005 - benladeng5225
- vipbooks
- kaizi1992
- tanling8334
- sam123456gz
- arpenker
- zysnba
- fantaxy025025
- 青否云后端云
- xiangjie88
- lemonhandsome
- wallimn
- e_e
- jh108020
- ganxueyun
- Xeden
- xyuma
- wangchen.ily
- zhanjia
- johnsmith9th
- zxq_2017
- forestqqqq
- jbosscn
- daizj
- xpenxpen
- 喧嚣求静
- kingwell.leng
- lchb139128
- jveqi
- kristy_yy
- javashop
- lzyfn123
- sunj
- yeluowuhen
- ajinn
- lerf
- silverend
- chenqisdfx
- xiaoxinye
- lyndon.lin
- flashsing123
- bosschen
- zhangjijun
- sunnylocus
- lyj86
- paulwong
- sgqt
最新文章列表
存储过程中调用同义词报“表和视图不存在”
创建了同义词,直接查询都是正常的,但存储过程中一调用就报“”表和视图不存在“”,因为"在存储过程中访问公共同义词,必须直接对用户授权,而不能通过角色授权"。
见http://blog.csdn.net/linminqin/article/details/6671785。
比如我test用户的存储过程中要调用ca的表,在test创建ca的同义词后需要grant all on ...
PL/SQL: ORA-00942: table or view does not exist
存储过程:
create or replace procedure updateCwshState as
f_ywlxdm_temp varchar2(2);
f_ywid_forkyxxw_temp number(10);
f_cwsh_state_temp varchar2(2);
f_id_temp number(10);
begin
for i in ...