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

Thread: how to grant select privileges on v$views to a user

  1. #1
    Join Date
    Apr 2002
    Posts
    291

    how to grant select privileges on v$views to a user

    Dear gurus,
    Due to some business requirements, i'm asked to give ONLY select privileges to a user. When i'm trying to give command like...

    SQL> conn / as sysdba
    Connected.
    SQL> grant select on v$session to XYZ;
    grant select on v$session to XYZ
    ERROR at line 1:
    ORA-02030: can only select from fixed tables/views

    How can i grant only select privileges to a user? Please let me know the syntax...

    I've to give these permissions on both machines with..
    Oracle 8.1.7 Linux 6.2
    Oracle 9.0.1.4 Linux 7.2

    Thanks in advance
    PNRDBA

  2. #2
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    GRANT SELECT ON v_$session TO xyz;
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

  3. #3
    Join Date
    Apr 2002
    Posts
    291
    Thanks a lot Jurij, Its done....
    PNRDBA

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