adding nifty thing

This commit is contained in:
jsmith 2020-09-10 13:26:26 -05:00
parent d8e9ec5b9b
commit a0ad4fc9a6

View File

@ -0,0 +1 @@
select distinct 'GRANT '|| privilege ||' ON '||owner||'.'||table_name||' TO DC4UI_APP_RW;' from dba_tab_privs where grantee='DC4UI_APP_RW' AND table_name not in (SELECT DISTINCT table_name from dba_tab_privs where grantee = 'DC4UISANDBOX_APP_RW');