wm_concat invalid identifier

billlyh 2013-08-08 11:02:12
10.1.0.4.2的数据库
SQL*Plus: Release 10.1.0.4.2 - Production on 星期四 8月 8 10:18:59 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.

表如下:
create table t_lyh(
c1 number,
c2 varchar2(20)
);
表数据:
C1 C2
---------- --------------------
1 a
1 b
1 c
2 x
2 y
3 z
用apps用户登录数据库,
select a.c1, wmsys.wm_concat(a.c2) new_result from t_lyh a group by a.c1
却报错:"WMSYS","WM_CONCAT":invalid identifier

将函数赋wm_concat权限给用户apps,却赋不了
grant select ON wm_concat to apps
报错:table or view does not exist
不是说10g以上的就有wm_concat吗,怎么会提示没有表或视图

哪位帮忙看看
...全文
130 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧