How to check the active roles?

* To view all the database roles, we have DBA_ROLES which has the following structure:
ROLE NOT NULL VARCHAR2 (30) Role name
PASSWORD_REQUIRED VARCHAR2 (8) Indicates if the role requires a password to be activated
By ROLE * SET statement we can enable or disable roles
The parameter MAX_ENABLED_ROLES * determines the maximum active roles in the database

How can we check the roles enabled or disabled in the database?

Saad,

There was nothing called activation or deactivation of a role at the database level.

Or we can create a role or disable a role.

SET ROLE statement allows you to enable or disable a role for a current session. It is not disabling actually disable the role of a session

It is therefore at the level of your session, you can use the query given by Mr. Forstman.

see the link below
[http://download.oracle.com/docs/cd/B14117_01/server.101/b10759/statements_10004.htm#sthref7290]

Kind regards
Delphine K

Published by: Vijayaraghavan Krishnan on February 8, 2010 18:23

Published by: Vijayaraghavan Krishnan on February 8, 2010 18:32

Tags: Database

Similar Questions

  • How to check the activation date of the ipad

    Hello

    I want to see an ipad from a person who said that this is not enabled yet.how so that I can check.

    Please tell me what should I check other important things.

    Thank you

    There is no way to check if it is enabled.

    Do not do this: https://www.icloud.com/activationlock/

  • How to check the roles agreed on a specific group?

    Hello

    How to check the roles granted to a specific group?

    If a user belongs to this group in particular, will have the same roles granted so much that the Group?

    Thank you.

    SQL> select grantee
      2  from dba_role_privs
      3  where granted_role = 'DBA';
    
    GRANTEE
    ---------------------------------
    SYS
    SYSTEM
    
  • How to deal with "error: check the activation.

    I have the 4.5 digital editions on my Windows 7. Download books on my reader Kobo was a battle of the day 1. Now, I get "error: check the activation. As suggested, I'm trying to allow out of my player in order to re - authorize but ADE refuses my password. Any help would be appreciated.

    Windows:

    Close all applications.

    Click Start > run.

    Open, type regedit in the text box and press ENTER. The Registry Editor opens.

    In the left pane of the registry editor, locate the following registry key: HKEY_CURRENT_USER\Software\Adobe\Adept

    Select the key of the follower.

    Choose file > export.

    In the export registry file dialog box, select the branch selected under export range. Enter a name and location for the backup registry key, and then click Save.

    Right click on the key to the follower, and then choose Remove.

    In the dialog box confirm the key deletion, click OK.

    Close the registry editor.

    Open Adobe Digital Editions and reauthorize.

    Macintosh:

    exit the Adobe Digital Editions software.

    Navigate to / Users / / Library/Application Support/Adobe/Digital Editions and drag the activation.dat file to the trash.

    If you use 10.7, see https://helpx.adobe.com/x-productkb/global/access-hidden-user-library-files.html

    Open Adobe Digital Editions and reauthorize.

  • How to check the key is oem?

    How to check the key is oem?

    And how to check the key belongs to which company, dell hp...?

    This is possible if the license is installed.

    When it is installed, you can proceed as follows:

    Click Start, right click on computer

    Click on properties

    Scroll down to the Windows Activation

    The product ID will contain - OEM-

  • Check the Activation error

    When I try to download an eBook, I get this message: "error.  Check the Activation"and the e-book is not loaded in my library.   I use the Windows 10.  How to solve?

    1. Close all applications.
    2. Click Start > run.
    3. Open, type regedit in the text box and press ENTER. The Registry Editor opens.
    4. In the left pane of the registry editor, locate the following registry key: HKEY_CURRENT_USER\Software\Adobe\Adept
    5. Select the key of the follower.
    6. Choose file > export.
    7. In the export registry file dialog box, select the branch selected under export range. Enter a name and location for the backup registry key, and then click Save.
    8. Right click on the key to the follower, and then choose Remove.
    9. In the dialog box confirm the key deletion, click OK.
    10. Close the registry editor.
    11. Open Adobe Digital Editions and reauthorize.
  • How to check the details of connection and disconnection of the team? I want to see the rate of use of the software.

    How to check the details of connection and disconnection of the team? I want to see the rate of use of the software.

    Hello

    I'm sorry but there is no option for monitoring the connection and disconnection of a user.

    You can see their activation of license through your admin console.

    Kind regards

    Sheena

  • ADE 4.0 does not allow me to download the books from my library: "error!" Check the Activation.

    When you try to download a book from ADE 4.0 to my library I have this message: "Error!" Check the Activation. I deleted ADE my computer and reinstalled and also unaurhorized it and then cleared. But the problem persists. How can I fix this problem?

    If for some reason you cannot withdraw the authorization of ADE, follow the steps below:

    Mac: Navigate to / Users / / Library/Application Support/Adobe/Digital Editions and drag the activation.dat file to the trash.

    ADE will be cancelled now.

    Now allow ADE new.

    Windows:

    Click Start > run.

    Open, type regedit in the text box and press ENTER. The Registry Editor opens.

    In the left pane of the registry editor, find the following registry key:

    HKEY_CURRENT_USER\Software\Adobe\Adept

    Right click on the key to the follower, and then choose Remove.

    In the dialog box confirm the key deletion, click OK.

    Your permission is removed.

    ADE will be cancelled now.

    Now allow ADE new.

    Reference:

    https://helpx.Adobe.com/Digital-Editions/KB/error-e_act_not_ready.html

  • How to check the arhice mode is on or not according to the pl/sql procedure

    Hello

    I'm trying to figure out how to check the mode archive inside begin end block. Basically, I'm developing a procedure that returns in mode archive.

    I know that the following command returns the status of fashion archive but I can't do the job inside the begin end block.

    "list of archive logs.

    I'll be appricated if you show me how to call the above command inside begin end block.

    Kind regards.

    Hello

    If you want to see archive log mode is activated, you can simply check V$ database.

    select log_mode from v$database
    

    That is what you want, or is there something more, you need?

    David

  • How to check the status of the statistics on a table?

    Hello
    I started the statistics collection on a few large tables in my database.
    How to check the status of statistics about a table? Are there views of data dictionary or tables to monitor the progress of the collection of statistics.


    Regds,
    Malika

    Hi all

    You can check with this little script.
    It lists details of sid for long as running session
    When he started
    What last update
    How long still to the left
    "ACTIVE/INACTIVE" session state etc.

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    -Author: James Syed_
    -Script_name: sid_long_ops.sql
    -Description: list details of sid for long running the session as when it began when the last update how long still to the left.

    fixed lines 200
    Neck LESS to a25

    Select
    a.SID,
    a.Serial #.
    b.Status,
    a.opname,
    TO_CHAR (a.START_TIME,' DD-me-AAAA HH24:mi:ss) START_TIME,
    TO_CHAR (a.LAST_UPDATE_TIME,' DD-me-AAAA HH24:mi:ss) LAST_UPDATE_TIME,.
    a.time_remaining as 'time remaining dry. "
    a.time_remaining/60 as "Min remaining time."
    a.time_remaining/60/60 as 'remaining time in HR.
    V $ session_longops a, v$ session b
    where = select a.sid
    a.sid = & sid
    And time_remaining > 0;

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------

    The sample output:
    --------------------

    SQL > @sid_long_ops
    Enter the SID value: 474
    13 old: a.sid = & sid
    13 News: and a.sid = 474

    SID, SERIAL # STATUS START_TIME LAST_UPDATE_TIME remaining time LESS dry time remaining minutes remaining HR time
    --------------------------------
    474 2033 ACTIVE collection schema statistics June 6, 2012 20:10:49 June 7, 2012 01:35:24 572 9.53333333.158888889

    Thank you & best regards

    Syed James.
    Oracle Apps DBA
    Mobile: + 91 9966270072
    E-mail: [email protected]

  • How to check the Dell laptop computer charger is authentic

    Hi.Dell Community

    I want to know how to check the Dell laptop computer charger is authentic? also, I bought the system in India on 30' th December 2015 but its POW watch warranty expires at the beginning?

    Warranty details
    Service Provider Start Date End Date Days warranty
    Only the the parts warranty REFERENCE DELL 26/06/2017 26/09/2017 614
    Next business day response REFERENCE DELL 26/06/2017 26/09/2017 614
    Only the the parts warranty REFERENCE DELL 26/06/2016 26/06/2017 522
    Next business day response REFERENCE DELL 26/06/2016 26/06/2017 522
    Parts only warranty (in Service) REFERENCE DELL 25/06/2015 26/06/2016 157
    In service (3-Business Day)(8x5) REFERENCE DELL 25/06/2015 26/06/2016 157
    TECHNIQUE STANDARD TELEPHONE SUPPORT REFERENCE DELL 25/06/2015 26/06/2016 157
    Only the the parts warranty REFERENCE DELL 25/06/2015 26/06/2016 157
    Next business day response REFERENCE DELL 25/06/2015 26/06/2016 157

    Hi Hema,

    Thank you for your kind reply.

    I bought the system in a Dell store allowed, but the thing is I'm getting confused on post purchase experience.  The bag pack which the seller gave me apparently local, when I refused to take it, he assured me that I will get a real bag after a few days. I also think that I cheated from windows.

    I will be much obliged if you can read the issue in the context (the conversation with the windows community)-

    My question - what is the use of "slmgr / / ato" command, my system is watch a range error code 0x80072EF7, when I run this command. can be solved?

    response-

    Thank you for visiting Microsoft Community.

    According to the publication of the description and the error code that you get when running ' slmgr / / ato "command, it seems that you have any question in your Windows activation.

    Use of slmgr / / ato command:

    For volume systems, with a KMS host key retail editions or a key to activate Multiple (MAK) installed /atoprompts Windows to attempt activation online. Activate Windows license and product key from the Microsoft server. If you receive error 0x80072EF7 code then I suggest you to try the steps outlined in the article below and see if it helps you to solve the problem.

    My question-

    I can't run these technical stuffs on my computer. I'm scared I might lose the original settings since I'm not familiar with computer terminology. I didn't activate windows, I run the command "slmgr/ato' because of Microsoft technical team asked me to do the same. The reality is that I just bought a new Dell laptop, which came with no reinstalled windows, but dealer told me it communicates me windows 8.1pro as compliment (when I asked him which win. I should use win10 update or win original 8.1). and the cost of windows is not mentioned in the Bill. I was not aware at the time of the purchase that I won't have a preinstalled windows system, because I asked the price for laptop with the desired configuration and win8.1. I never thought that I buy a DOS system. I paid for almost the same price for laptop with "win 8.1pro" brokers in the area compare to preinstalled laptop computer sing.language win8.1. After 2 days, when I realized the question and asked the technical team at Microsoft to see if windows that is installed on my system is authentic or not, and they told me that windows is authentic, after checking with my key.  From there, my doubt starts Can a windows be true, even if the user has no evidence that he has purchased? Is the only information is the product key which certifies the genuine windows? What is the risk if the dealer gives the same key to another customer as a "compliment".

    Once I shared the issue with Microsoft support, they tried to hear me, but I think that they have not properly my concern. However, they asked me to run that command and message showed that windows is already activated. Since then, I thought that it could be someone else can also use the same key, I tried to check this order 4 days after. Since then, this error shows. Now, I want to solve each and every error on windows, I will also be very grateful if you could provide me the only way to learn how to check the real windows.

    response-

    Yes, I agree with you, your concern on the product key. It is true that your computer vendor could give the same product key to the other person as a gift too. If another person uses the same key to activate the OS, then you might get pop up to activate your Windows or other activation errors.

    You can see the article mentioned below to check if your OS is authentic.

    My question-

    Today, I called again to Microsoft helpline years technical support says my concern again. This time they told me that 'the ID of the product' which I use is enabled on other computers, but still found my authentic windows. I wonder, earlier the chat session which is held with the technical support told me that no one can use the same key that I use. If it someone trying to do it won't affect my computer because I am one who is authentic and the first user. I don't understand why are there different versions of the truths in the company for the same problem?

    I feel very sad that the company like Microsoft is not able to do something for their customers like me who are less sophisticated techno and want to become authentic windows user! Now, I think there must be a link any between the 'error', I've mentioned above and even the activation key on a different system.  I'm afraid how it would affect my system if other systems get activated by the same key. I don't know what are the services that I won't be able to enjoy if my windows become ingenuine later. Kindly guide me how to raise my complain about best way (with respect to the argument) to the dealer or authority be it is.

    response-

    If you have a valid key, then you will be able to turn it on again. If you call our support team then they will check into his tool and validate it, after doing this they will validate your key and help by activating the latter, if it turns out anyway.

    Keep us.

  • I have a strange problem with my RAM supported by installers. When I check the activity monitor, 3 installers are open and they start around 80 MB memory RAM used for about 7 or 10:08 minutes or so.

    I have a strange problem with my RAM supported by installers. When I check the activity monitor, 3 installers are open and they start around 80 MB memory RAM used for about 7 or 8 concerts after 10 minutes. I have to force them to quit, but I don't know what I am closing or why they open in the first place. Applications downloaded on iTunes?

    In addition, the Console has opened with the same message several times, but I don't know what that means.

    Any help would be appreciated.

    Hello

    The last is a picture of the Terminal window.

    Just because it lists 'Console' does not mean that it has nothing to do with this application.

    You have not said why or what you're trying to install so I can't help with that.

    You can use the activity monitor to leave their.

    After you select an item, use the X in a type of stop sign icon and confirm force quit.

    21:36 Thursday; September 15, 2016

     iMac 2.5 Ghz i5 2011 (El Capitan)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro (Snow Leopard 10.6.8) 2 GB
     Mac OS X (10.6.8).
     iPhone and iPad (2)

  • How to use the activity monitor to remove MegaBAckup on my mAc Book PRO?

    How to use the activity monitor to remove MegaBAckup on my mAc Book PRO?

    Download and run MalwareBytes. Malwarebytes was developed by one of our colleagues here to ASC. He received rave reviews and is on the more proven anti-malware for Mac software.

  • Anyone know how to check the date of warranty until when?

    Anyone know how to check the date of warranty until when?

    https://checkcoverage.Apple.com/Jo/en/;JSESSIONID=9pJ0X9pFPJtNg3c44yDGCvk9pVpt5l QSgn4B60y4Skv1WfmnqMkF!-1840326800

  • How to check the balance on the gift card itunes

    How to check the balance on the gift card itunes

    Redeem it

Maybe you are looking for

  • Satellite A200-1TW - I want to upgrade the RAM

    HelloI think to upgrade my RAM from 2 GB to 3 or 4 gig.I know that 32-bit windows recognizes only 3 gig of max, but I was wondering if it would be better to install 2x2g then 1 x 2 GB and 1 x 1 GB?Another question I have:I opened my laptop to see wha

  • You can delete your own post

    If you can, please give me instructions. Please note my operating system and devices.

  • Microsoft ACPI Control method battery compatible not reinstall.

    I had the plugged in, not charging problem on my laptop that runs Windows 7, and in order to solve the problem, I uninstalled Microsoft ACPI compatible with battery control method. I've done in the past and it worked wonders, but this time it is not

  • Virus on Windows RT

    Hello I think I have a virus on my Tablet Windows RT. Stupidly, I clicked on an email that is unsolicited then that in my browser. Since then, the facebook app refused to work. It runs upward and then crashes. I tried -Uninstall and reinstall it -upd

  • Cannot change the default program

    1 HP Pavilion dv6 2 Windows 7 3. "Windows cannot access the specified device, path or file. You can not have the appropriate permissions to access the item. 4. Windows update itself 5. I was always able to change the default program, until Windows ha