ORACLE ADMINISTRATION TOOLS - MANAGE SECURITY AND THE VARIABLE - PROBLEM

To manage security, I use an external "DIM_DMT_PRIVILEGE" table with 3 columns: user, Type and value

I created a block of initialization in the variable management section named 'CATEGORY' by the next expression of inititialisation:

SELECT "CATEGORY", DMT_VALUE_CD
OF DIM_DMT_PRIVILEGE T
WHERE T.DMT_TYPE_CD = 'CT '.
AND)
High (T.DMT_USER_CD) = upper ('VALUEOF (NQ_SESSION.) THE USER) ")"
OR T.DMT_USER_CD in ('VALUEOF (NQ_SESSION.) (GROUP)')

The problem is that the initialization state * "upper (T.DMT_USER_CD) = upper ('VALUEOF (NQ_SESSION.)" "USER)") "* success but the other *" or T.DMT_USER_CD in ('VALUEOF (NQ_SESSION.) GROUP) ")" * don't.

In the external table, the column user contain users and groups of users, security groups, and users.

Thanks for your help,

Kevin

Hello

In your select statement, you must use the name of the database table columns and not the names of the variables defined in the initialization block.

Looks like you used the names of variables in a query, if I understand correctly.

According to my understnading, you must use...

SELECT DMT_TYPE_CD, DMT_VALUE_CD
OF DIM_DMT_PRIVILEGE T
WHERE T.DMT_TYPE_CD = 'CT '.
AND)
High (T.DMT_USER_CD) = upper ('VALUEOF (NQ_SESSION.) THE USER) ")"
OR T.DMT_USER_CD in ('VALUEOF (NQ_SESSION.) (GROUP)')

It will store these values corresponding to you first two variables defined in the initialization block.

Tags: Business Intelligence

Similar Questions

  • Are the "Oracle Hyperion Reporting and Analysis" and "Oracle Hyperion Financial Reporting," one and the same product?

    Are the "Oracle Hyperion Reporting and Analysis" and "Oracle Hyperion Financial Reporting," one and the same product?

    Alanysis and Hyperion reports has a scope of report include Hyperion Finanicial Reporting, web analytics services RA framework and the Foundation as a layer application and client level there EMP Workspace, SmartView etc.

    Thank you

    ~ KKT ~.

  • Load firefox 3.6.14 and now can't access the internet. Computer restored to the previous version works now. 3.6.14 I tried again and the same problem, any ideas?

    Using windows 7. As soon as the update of firefox, I can not access Internet. I tried Internet Explorer works well. I have restored the previous computer Firefox and it works fine. Tried the update again and the same problem can not access the internet.

    This is usually caused by a firewall blocking the new version of Firefox. For more information, see https://support.mozilla.com/kb/Cannot+connect+after+upgrading+Firefox

  • Change the sizes of police tools > dialog Options and the subject:? pages

    Under Windows 7 I have select 1024 x 768 screen resolution and 125% of the size of the text.

    The size of the font of the tools > Options dialog box is too small for me. I would like to change it to 11 pixels.

    Should what code I add to userChrome.css?

    Also, I would like to increase the subject's default font sizes:? pages and the help > troubleshooting information page, so that I don't need to zoom before them.

    You may need to use a large number of style rules to cover all possible windows including operable windows if you click on a button of the Cookie Manager (#CookiesDialog) and password manager (#SignonViewerDialog).

    The Options/preferences window has this ID: #BrowserPreferences (chrome://browser/content/preferences/preferences.xul)

    #BrowserPreferences * { font-size: 11pt !important; }
  • Menu administration tools is missing from the Start Menu of Vista

    I don't know how or when that happened, but today when I opened the whole start, the administration tools option menu was missing.  I went into the folder program Data\Microsoft\Windows\Start Démarrer\Programmes and the Administrative Tools folder was there with all its contents. Yet it does not appear when you click on the Start button.  Any ideas what the cause and healing can be?

    Hello

    We are pleased to know that you were able to solve this problem.

    If you have any other questions about Windows operating systems, please get back to us.

  • I need to enter the administrator to run mode and the cleaning viruses on my computer.

    How to make Windows vista administrator mode

    Sign in to a user account with administrator privileges and make a thorough analysis. However, it should not be necessary to do so. Normally, you can perform the scan of your Standard user account. Just provide the password/OK to the UAC prompt when it appears for different programs.

    http://www.elephantboycomputers.com/page2.html#Removing_Malware

    If you would like more information, please post back with more details and the results of the analysis by the link above.

    MS - MVP - Elephant Boy computers - don't panic!

  • WIN8 - no desktop, black screen with the mouse pointer. Manager tasks and the login screen work.

    As usual I left my computer and after a few minutes, he fell asleep. Next morning, I had moved to the mouse, computer wakes, but I got a black screen with the mouse pointer. I hit CTRL + Alt + Delete and screen with Task Manager option appeared. I stop computer and rebooted. Welcome screen and logon is displayed. After you enter the password and click on submit that the screen becomes black with only the pointer visible mouse. I don't have not installed anything recently. Can you help me find my office?

    OK, I had the same problem. I thought that if you have a pointer and can launch Manager tasks and all programs through its file > new task, then the hull works correctly. No office and no taskbar mean that something is wrong with explorer.exe. Now, he has corrupted not necessarily, may not properly launched.

    Here's what I did:

    1. I opened the Task Manager, the Details tab

    2. I killed all explorer.exe on the list

    3. just to be safe, I also tried to kill dwm.exe but it will be may not be necessary (it never goes away)

    4. I started the new instance of explorer.exe via file > run

    And voila, I had the desktop and the taskbar.

    It will be useful.

  • Export security and the copy?

    Hi all

    It must export security for the current server file and copy to another server.
    We are the security file export by using the EXPORT command in MaxL.

    Now, we must copy the security file on an other server (not manually), we need to schedule for each day or week.
    We want the two synchronized server.
    Is it possible to copy the file to another server?

    If possible can you please advice kind write the script of the foregoing.

    Thank you
    Alain

    For example, lets say you have run the command 'Display group all' on your source system.

    This will output that contains two columns, the group name and group description, that you have transferred to Excel. If you haven't already done so, use 'Text to columns' in Excel so that each field output has its own column in Excel.

    So now the release of name and description of the "display group all the" sits in column A and B a Excel sheet. Assume that it looks like this:

    MyGroup1 users
    Super MyGroup2
    MyGroup3 administrators

    Then, you must create a formula (for example) of column C, something like this (untested, but you get the idea):

    "" = "create or replace the group" & A1 & "comment" "& B1".

    This produces a result like this that copy you and paste to create a new MaxL script...

    create or replace the commentary to MyGroup1 group "users";
    create or replace group MyGroup2 comment "super users";
    create or replace the comment by MyGroup3 group "Administrators";

    .. .for running on your target system.

    You will need to repeat this process for each order 'Show' - groups, users, filters, filter lines, privileges etc. MaxL Essbase technical reference section are details of the release of 'show' and the syntax of the partner to 'create' or 'grant' of statements.

  • Security and privacy setting problem

    I have a MacBook Pro, school issued, and I have an administrator account. It is El Capitan version 10.11.4 running

    For a few weeks and I don't know exactly when it started, it was disconnect automatically. In addition, when it disconnects me my password is not always recognized as correct, so I have to reboot to reconnect. I finally found the setting of security and confidentiality that is checked for disconnection after 30 minutes of inactivity and unchecked, it.  However changes to the settings I do not stay, I uncheck the box or change the amount of time before disconnection, he returns in this journal of 30 minutes setting. As a teacher in a busy class I find that more and more frustrating. I can't afford this waste of time if I need to show something to the class on the Board of directors or to find a resource. Can anyone help?

    I guess you just change your connection password, but desynchronization between account password and login Keychain password. You need access to Keychain Access-> Preferences, select 'Synchronize password Keychain with account'. Preferences and access to quick access-> S.o.s. Keychain keychain and repair.

  • SET the VARIABLE problem

    Hello world!

    I added a line to my report of responses on the tab advanced, prefix section as follows:
    SET VARIABLE DISABLE_CACHE_HIT = 1 DISABLE_CACHE_SEED = 1;

    I also put a session variable by using the dashboard line. Then when I start my report, you receive the following error message:

    A general error occurred. [nQSError: 27002] About < GAME >: Syntax error [nQSError: 26012]. (HY000)

    Publ. SQL: SET VARIABLE sv_test = "Test"; SET VARIABLE DISABLE_CACHE_HIT = 1 DISABLE_CACHE_SEED = 1; SELECT...

    So, the first SET statement is generated from Dashboard prompt and the second section of a throug prefix. I also tried to exclude 'SET the VARIABLE' section of my report prefix, but it still does not work. What is the correct syntax?

    Help me, please!

    TNX!

    user10203008 the error is in a semi instead of the comma
    SET the VARIABLE sv_test = "Test"<; !comma="" have="" to="" be="" here!="">SET VARIABLE DISABLE_CACHE_HIT = 1 DISABLE_CACHE_SEED = 1;

    So you can do this quickly with variable pvVar presentation. And a prefix write
    * SET VARIABLE sv_test='@{pvVar}',SET VARIABLE DISABLE_CACHE_HIT is 1 DISABLE_CACHE_SEED = 1;. *

    It must works.

    Published by: AnTonic January 26, 2011 12:23

  • Bind the Variable problem

    Hi all

    CREATE OR REPLACE PROCEDURE PRMADM_BATCH. UPDATE_PROC_LOG (p_SRC_SYS_ID VARCHAR,
    p_APPL_MOD_NM VARCHAR, p_INPT_OBJ_NM VARCHAR, VARCHAR, p_OUTPT_OBJ_NM p_ERR_ID
    VARCHAR, p_ERR_DESC VARCHAR)
    AS
    number of p_OUTPT_ROW_CNT;
    number of p_INPT_ROW_CNT;
    p_OUTPT_SQL VARCHAR2 (4000);
    p_INPT_SQL VARCHAR2 (4000);
    number of p_ERR_ID_CHK;
    BEGIN
    IF p_ERR_ID = 0 THEN - success
    p_OUTPT_ROW_CNT: = 0;
    p_INPT_ROW_CNT: = 0;
    p_OUTPT_SQL: = NULL;
    p_INPT_SQL: = NULL;
    p_ERR_ID_CHK: = 0;
    DBMS_OUTPUT. PUT_LINE ('SRC_SYS_ID =' | p_SRC_SYS_ID);
    p_OUTPT_SQL: = 'SELECT COUNT (*) FROM "| p_OUTPT_OBJ_NM | ' WHERE
    SRC_SYS_ID =: a ';
    p_INPT_SQL: = 'SELECT COUNT (*) FROM "| p_INPT_OBJ_NM | ' WHERE
    SRC_SYS_ID =: b';
    DBMS_OUTPUT. Put_line (p_OUTPT_SQL);
    DBMS_OUTPUT. Put_line (p_INPT_SQL);
    EXECUTE IMMEDIATE p_OUTPT_SQL IN p_OUTPT_ROW_CNT IN USING p_SRC_SYS_ID;
    EXECUTE IMMEDIATE p_INPT_SQL IN p_INPT_ROW_CNT IN USING p_SRC_SYS_ID;
    Else - failure
    p_OUTPT_ROW_CNT: = - 1;
    p_INPT_ROW_CNT: = - 1;
    p_OUTPT_SQL: = NULL;
    p_INPT_SQL: = NULL;
    p_ERR_ID_CHK: = - 1;
    SELECT COUNT (*) IN the p_ERR_ID_CHK OF PRMADM. ERR WHERE ERR_ID =
    p_ERR_ID;
    IF p_ERR_ID_CHK = 0 THEN
    INSERT INTO PRMADM. ERR (ERR_ID, ERR_DESC) VALUES (p_ERR_ID,
    p_ERR_DESC);
    COMMIT;
    END IF;
    END IF;
    UPDATE PRMADM. PROC_LOG
    SET PROC_END_DY_DT = SYSDATE,
    INPT_ROW_CNT = p_INPT_ROW_CNT,
    OUTPT_ROW_CNT = p_OUTPT_ROW_CNT,
    ERR_ID = p_ERR_ID
    WHERE APPL_MOD_NM = p_APPL_MOD_NM
    AND PROC_END_DY_DT IS NULL
    AND OUTPT_OBJ_NM = p_OUTPT_OBJ_NM
    AND INPT_OBJ_NM = p_INPT_OBJ_NM
    AND SRC_SYS_ID = p_SRC_SYS_ID;
    COMMIT;
    END UPDATE_PROC_LOG;
    /

    The proc above is running well and gives the result below

    SRC_SYS_ID = 1030
    SELECT COUNT (*) IN THE PRMADM. PGM WHERE
    SRC_SYS_ID =: a
    SELECT COUNT (*) IN THE PRMADM. INPT_PGM WHERE
    SRC_SYS_ID =: b


    My question is where can I enter the value for the variable bind a and b...

    I want to put two to 1030

    Thanks in advance

    Ndiaye (ndiaye) wrote:
    p_SRC_SYS_ID (input in my proc parameter) takes the value of 1030 and I want that the connection variable: an and: b take the same value...

    But they take this value...

    EXECUTE IMMEDIATE p_OUTPT_SQL IN p_OUTPT_ROW_CNT IN USING p_SRC_SYS_ID;
    EXECUTE IMMEDIATE p_INPT_SQL IN p_INPT_ROW_CNT IN USING p_SRC_SYS_ID;

    The 'USE' of the declaration part links the value to bind variables in the SQL statement.

    Where is the problem?

  • Performance on the Web access and the certificate problem arises

    Hello! I just bought a HP pro 8610 office jet and I'm trying to access the Scan function to access Web but performance is very slow and I just get a blank screen, no certificate appears.   I tried to do it in Chrome and Firefox.  Otherwise, the printer works fine.

    I accidentally entered a wrong email as beneficiaries on the address book and need to delete an entry via the Scan option in the Web.

    I'm on Windows 7 Edition home premium.

    Please advise, thank you!

    This has been resolved! Apparently the connection was slow for some reason any.  Just tried again this morning and the certificate that is presented and not more problems.  Thank you!

  • Format Windows 7 and the installation problem

    Hi, I have a problem of windows I'm getting conflicting solutions when I search forums. I have a Dell laptop that I bought in 2008, which came with Vista Home Premium 32 bit. Last year, I decided to buy a drive to upgrade to Windows 7 Home Premium 32 bit. Last days, I experienced a large amount of blue screens, closures, slow behavior and I finally decided to bite the bullet and reformat. My problem is I have more drive Vista OEM with me and what I read online the win 7 upgrade product key only works if I'm upgrading from a current version of Windows. Both products are authentic and I am willing to share this information to purchase with Microsoft. Is it possible to get a clean install of Win7 key in this case or any other alternative suggestions?

    If your computer comes with a qualifying previous license such as Windows Vista or Windows XP and the certificate of authenticity is still attached to the machine in good condition, then the COST is reason enough to represent the compliance to the software license agreement. No previous required software installation, which means you can do a clean install with Windows 7 Upgrade disk.

    How to do a clean install with upgrade disc:

    Boot from the Windows 7 DVD

    Click Install now

    Accept the license agreement

    When the option is displayed to select a type of installation, click (Custom advanced)

    Click on drive Options

    Select the disc/s click on Delete

    Click new

    Click on apply

    Click OK

    Click Format, and then click next to proceed with the installation

    Skip entering your product key Windows 7 and complete the installation.

    When you reach the desktop, click Start, right-click on computer

    Click on properties

    Scroll down to the Windows Activation

    Click the link x days before activation.

    Click on the link that says: "show me other ways to activate.

    Enter the product key

    Click next

    Select the Activation of the phone

    Click Next when you enter your key page

    Select your country

    Click Next, call the number listed

    Be sure to explain your situation to the Appeals Officer.

    Provide the installation generated when ID requested by the call agent

    They give a confirmation ID in return, enter it

    Click next to complete the activation.

    However, the requirements for the media upgrade is that you have an operating system already eligible such as Windows XP or Vista installed to use it. Since the Windows 7 end user license agreement.

    15 UPDATES. To use upgrade software, you must first be licensed for the software that is eligible for the upgrade. After the upgrade, this agreement takes the place of the agreement for the software that you upgraded. After upgrade, you can no longer use the software that you upgraded.

    So, if you are always denied, you will just have to reinstall Windows XP or Vista and let it do the verification of eligibility.

    or

    How to activate Windows 7 manually (activate by phone)
     
    1) click Start and in the search for box type: slui.exe 4
     
    (2) press the ENTER"" key.
     
    (3) select your "country" in the list.
     
    (4) choose the option "activate phone".
     
    (5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
     
    (6) explain your problem clearly to the support person.
     
    http://support.Microsoft.com/kb/950929/en-us

  • Table and the loop problems (please help)

    Im making a site for a project where I have to include a table and a loop.

    For this section, I put in a "contact us / Q and A" page where the user can enter a name, email, and question.
    This information is sent to a table and then following image shows the form of the table information in the dynamic text boxes.

    I've included a loop to check that each part of the table contains data (name, email and the issue).
    Then I have an If Else, which clears the form either if a section has been missed, OR if the form was completely correctly it directs the user to the frame following where as I said above the details appear in dynamic text boxes.

    The problem im having is the loop to check For the table that's a waste. Someone can please help me out here and get the loop to verify that all fields have been filled.

    Here is my code for the initial frame

    You must update the values in your table at the time you press the submit button. Code follows

    There is a second example to check the strings (it's a little complicated, but it's a useful trick if you can understand). This does not leave the Send button work unless all fields have something in them

  • [SOLVED] Integrated security and the Oracle Enterprise Manager

    Hi, I set up an oracle instance with infallible oracle on a cluster with two nodes of microsoft.
    On Oracle failsafe documentation is written that I have to use the enterprise Manager grid:
    [http://download.oracle.com/docs/cd/E10736_01/doc/server.341/e11080/ofs_agent.htm]

    Is it possible to use the normal Enterprise Manager?

    Maybe a solution is to set up em with the virtual address of the cluster, but the HOST of the MA parameter doesn't seem to work (which seems to be ignored).

    System information:
    Oracle 10.2.0.4, Windows Server 2003 64-bit

    Please tell me if I should add more details.
    Hope you can help me.
    Thank you very much
    Adriano Aristarco

    Please check the notes 452305.1

Maybe you are looking for