Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2003
    Location
    Ottawa
    Posts
    105

    Unanswered: User privileges (Newbie question)

    Hi,

    Without actually attempting either an UPDATE, INSERT, SELECT or DELETE on a certain table, how can I determine what operations I have the privilege to perform on that object?

    (DB2 7.2 on AIX)

    thanks.

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    Code:
    select * from syscat.tabauth where grantee='YOURUSERNAME' and tabschema='YOURSCHEMA' and tabname='YOURTABLE';

  3. #3
    Join Date
    Jun 2003
    Location
    Ottawa
    Posts
    105

    quick!

    great thanks.....you've improved my opinion of Toronto ;-)

  4. #4
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    Quote Originally Posted by dstachon
    .....you've improved my opinion of Toronto ;-)
    Well, you've confirmed my opinion of Ottawa

Posting Permissions

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