Hi
Sounds like, this table SYS."_CURRENT_EDITION_OBJ"
select o.*, NVL(d.debuginfo, ‘F’) DEBUGINFO,
NVL(p.PIPELINED, ‘NO’) pipelined,
NVL(p.PARALLEL, ‘NO’) parallel,
NVL(p.DETERMINISTIC, ‘NO’) deterministic,
NVL(p.AUTHID, ‘DEFINER’) authid
from
(select u.name owner,
o.name object_name,
‘PROCEDURE’ object_type,
decode(o.status, 1, ‘V’, ‘I’) status,
o.mtime last_ddl_time,
o.obj# object_id,
o.ctime created
from SYS."_CURRENT_EDITION_OBJ" o, sys.user$ u
where o.owner# = u.USER#
and o.linkname IS NULL
and o.Type# = 7
and u.name = :own) o
,(SELECT debuginfo, object_id
FROM sys.all_probe_objects
WHERE owner = :own
AND object_type = ‘PROCEDURE’) d
,(SELECT object_id, nvl(AUTHID, ‘DEFINER’) authid, pipelined, parallel, deterministic
FROM sys.user_procedures
WHERE 1=1
AND object_type = ‘PROCEDURE’
GROUP BY object_id, AUTHID, pipelined, parallel, deterministic) p
where p.object_id (+) = o.object_id
and o.OBJECT_ID = d.object_id (+)
order by 2;
:own(VARCHAR[8],IN/OUT)=‘RAULTEST’
How I am supposed to grant to this table…?
SQL> grant select on SYS."_CURRENT_EDITION_OBJ" to RAULTEST;
grant select on SYS."_CURRENT_EDITION_OBJ" to RAULTEST
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> grant select on SYS._CURRENT_EDITION_OBJ to RAULTEST;
grant select on SYS._CURRENT_EDITION_OBJ to RAULTEST
ERROR at line 1:
ORA-00911: invalid character
That is interesting, when I open Procedures tab with for example SYSTEM account, this query is different, and there seems to be no such table like SYS."_CURRENT_EDITION_OBJ"
I even couldn’t grant select from sys user.
Regards
Raul