-
hi
i need to create a role with dml privilege on a user´s tables
i used this
select 'grant select, insert, delete, update on ' privilege, owner,'.', table_name
from dba_tables where owner='ICDBA'
order by 3;
and I get
PRIVILEGE OWNER ' TABLE_NAME
---------------------------------------- ----- - ------------------------------
grant select, insert, delete, update on IC . EVT_CARRIER_CONFIGURATION
grant select, insert, delete, update on IC . EVT_DEST_PROFILE
grant select, insert, delete, update on IC . EVT_HISTORY
is there anyway to achieve
grant select, insert, delete, update on IC.EVT_HISTORY
getting rid of spaces between lines?
-
Try
select 'grant select, insert, delete, update on ' || owner || '.' || table_name
from dba_tables
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|