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

Thread: Grant option does not exist

  1. #1
    Join Date
    Jul 2008
    Posts
    1

    Lightbulb Grant option does not exist

    Hello,
    can anybody explain the following to me.
    I have 2 users in my database lets say User1 and User2, each with its own schema.I create a new table while i am logged as User1 let's say Table1.
    and then execute
    grant select on Table1 to User2

    Afterwards i log in as User2 and create a view named View2 as the following
    Select * from Table1, and everything is fine.

    Then , i execute the following

    grant select on View2 to User1

    and i get the following error :Grant Option does not exist for User1.Table1

    Why does this happen ? User1 is the owner of Table1.How come i get this error message.

    Thank you for your patience.Any help would be appreciated

  2. #2
    Join Date
    Apr 2006
    Posts
    377
    Did you grant WITH GRANT OPTION?

  3. #3
    Join Date
    Feb 2004
    Location
    UK
    Posts
    56
    I had exactly this problem the other day. It seems that if you are granting access to view2, you are also effectively granting access to the underlying table (table1).

    In order to grant the access to table1, you need to have been granted access to it WITH GRANT OPTION as ebrian says.

    I don't think all other RDBMS' work the same as this - but that is how Oracle does it

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