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

Thread: DBMS_LOCK privileges

  1. #1
    Join Date
    Mar 2002
    Location
    Mesa, Arizona
    Posts
    1,204

    DBMS_LOCK privileges

    How can I tell if I have execute privileges on DBMS_LOCK()?
    "I do not fear computers. I fear the lack of them." Isaac Asimov
    Oracle Scirpts DBA's need

  2. #2
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    Code:
    Begin
       DBMS_Lock.Sleep(10);
    End;
    /
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

  3. #3
    Join Date
    Mar 2002
    Location
    Mesa, Arizona
    Posts
    1,204
    Nice. But...

    What's the system table with that information?

    How can I get a list of who has been granted execute priv's on DBMS_LOCK() without connecting as each user then testing for an error?
    "I do not fear computers. I fear the lack of them." Isaac Asimov
    Oracle Scirpts DBA's need

  4. #4
    Join Date
    Jul 2001
    Location
    Slovenia
    Posts
    422
    all_tab_privs
    Tomaž
    "A common mistake that people make when trying to design something completely
    foolproof is to underestimate the ingenuity of complete fools" - Douglas Adams

  5. #5
    Join Date
    Mar 2002
    Location
    Mesa, Arizona
    Posts
    1,204
    That's it! Nice find. Thank you!

    I thought it only had table privileges (_TAB_). But, we all know what a thought is...
    "I do not fear computers. I fear the lack of them." Isaac Asimov
    Oracle Scirpts DBA's need

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