-
I have a table "A" which belongs to the user "A_schema"
The user "other" needs to truncate the table "A_schema.A" (part of a batch process)
I created a role "B_role", to which I assigned delete and select privileges on table "A"
I assigned "B_role" to the user "other".
BUT, when I log in as "other" and try "truncate table A_schema.A;" I get the error ORA-01031: insufficient privileges.
I tried assigning the privileges directly to the user "other", but still, I get the same error.
Am I missing something really obvious??
-
You need to grant delete any table to user b in order for user b to truncate a table in another schema :-)
-
Grant "DROP ANY TABLE" to other or B_role.
D.
-
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
|