Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Optimize SQL
Hi folks,
Out of curiosity..
It's there a way to better optimize this query (in terms of elapsed time) that is running against the construct of 2 oracle views ? or this is the best it gets when querying against the oracle data dictionary.
SELECT A.PRIVILEGE, A.OWNER, A.TABLE_NAME,A.GRANTABLE, A.GRANTOR, A.GRANTEE,
B.OBJECT_TYPE
FROM DBA_TAB_PRIVS A, DBA_OBJECTS B
WHERE GRANTEE='DBA'
AND B.OWNER = A.OWNER
AND B.OBJECT_NAME = A.TABLE_NAME
Any advise would be appreciated. Thanks folks.
Student-- Received on Tue Jul 24 2001 - 12:47:46 CDT
![]() |
![]() |