hi, basically I am trying to find out if there are any tables for schema sunny that doesnt have insert and update grants for testuser, Can anyone help me with this? how can I join these two ? thanks Sunny
select tabname from syscat.tables where tabschema = 'SUNNY' and type = 'T'
select tabname from syscat.tabauth where grantee = 'TESTUSER' AND INSERTAUTH = 'N' AND UPDATEAUTH = 'N'
select tabname from syscat.tables where tabschema = 'SUNNY' and type = 'T'
select tabname from syscat.tabauth where grantee = 'TESTUSER' AND INSERTAUTH = 'N' AND UPDATEAUTH = 'N'
Comment