DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: insufficient privileges error message when trying to truncate a table

  1. #1
    Join Date
    Sep 2000
    Posts
    20
    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??

  2. #2
    Join Date
    Jan 2000
    Location
    *
    Posts
    37
    You need to grant delete any table to user b in order for user b to truncate a table in another schema :-)

  3. #3
    Join Date
    Oct 2000
    Location
    Cambridge, MA (Boston)
    Posts
    144
    Grant "DROP ANY TABLE" to other or B_role.
    D.

  4. #4
    Join Date
    Sep 2000
    Posts
    20
    THANKS a LOT!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width