Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> how to obtain grants for a specific user by reading systables
Hi,
the subject says all
to collect the synonyms I do
SELECT SYNONYM_NAME, TABLE_OWNER, TABLE_NAME
FROM SYS.ALL_SYNONYMS d, SYS.ALL_OBJECTS oo
WHERE d.OWNER IN ('XYZ_USER') AND d.TABLE_OWNER=oo.OWNER AND d.TABLE_NAME =oo.OBJECT_NAME
but how is it to do for grants. Probable I treated google with the wrong questions - I didn't found an answer.
-- Best regards Dietmar BrueckmannReceived on Mon May 15 2006 - 01:21:54 CDT