Hello John,
This the the output of the spool:
-- Session: xxx@SID.WORLD
-- Timestamp: 13:36:19.607
Select o.object_type, pp.*
from sys.dba_objects o,
(Select p.grantee, p.owner, p.table_name, p.privilege, p.grantable, p.hierarchy
from sys.dba_tab_privs p
where p.grantee = :own
and not ((length(p.table_name) = 30) and
(substr(p.table_name, 1, 4) = 'BIN$') and
(substr(p.table_name, 27, 4) = '==$0'))
ORDER BY 1, 2, 3, 4, 5;
:own(VARCHAR[9],IN)='SCHEMA'
-- Session: xxx@SID.WORLD
-- Timestamp: 13:36:19.607
Select o.object_type, pp.*
from sys.dba_objects o,
(Select p.grantee, p.owner, p.table_name, p.privilege, p.grantable, p.hierarchy
from sys.dba_tab_privs p
where p.grantee = :own
and not ((length(p.table_name) = 30) and
(substr(p.table_name, 1, 4) = 'BIN$') and
(substr(p.table_name, 27, 4) = '==$0'))
ORDER BY 1, 2, 3, 4, 5
Error: ORA-00907: missing right parenthesis
We-re running pretty old versions unfortunately, Oracle is 11.2.0.2.0 and Toad is 13.1.1.5
I have already downloaded the latest version of Toad and I intend to try it as soon as possible
Best regards,
Julien