DBMS_FGA.add_policy... How to handle multiple tables and multiple users

Dear all,

My database is 11 GR 1 material and Linux is the platform.

I have over 50 very important tables and about 15 users database.

I want to implement an audit fine-grained on these important tables.

This is how I will implement:

SQL > START
() DBMS_FGA.add_policy
object_schema = > 'Scott ',.
object_name = > "SAL."
POLICY_NAME = > "SALARY_CHK_AUDIT"
audit_condition = > NULL,
handler_schema = > 'imran.
statement_types = > 'SELECT, INSERT, UPDATE, DELETE.
audit_column = > NULL);
END;
/

What is I have several tables of several users and object_schema in handler_schema.

I hope I'm able to clear my question, doubts please let me know.

Best regards, Imran

Hello

object_schema - the schema of the object to be audited. (If the value is NULL, the schema of the current user is supposed).
in case if you want to audit for multiple users - then make a test taking a value null and test access important tables - where relevant audit records are generated according to your requirement or not. I have not tested... try it

-Pavan Kumar N

Tags: Database

Similar Questions

  • How to write a table and a scalar value in file?

    I would like to write my data in a file but cannot address the problem. In the file I would write are values of x and y of my points of data in two columns, however, the data is in a table and the data of x consists of 3 pieces of information: an initial x, x incremented value and the number of points in my sample of data. How would I go about this?

    The number of points is redundant, because it will be the same as the 'other' in the table.

    Here's what I usually do:

  • How to compare two TABLES and different lines of list?

    I have two structural equal paintings aaa and bbb
    that (could) have different lines.

    How can I compare the tables and display different lines?

    Peter

    Something like this->

    SELECT aaa.*,'bbb' "Not present in" FROM aaa
    MINUS
    SELECT bbb.*,'bbb' "Not present in" FROM bbb
    UNION ALL
    (
    SELECT bbb.*,'aaa' "Not present in" FROM bbb
    MINUS
    SELECT aaa.*,'aaa' "Not present in" FROM aaa
    )
    

    Kind regards.

    LOULOU.

  • How to update a table and insert into another

    I need to update a table and also to insert into another table and want to do it in the same form. I can it will break in 2 different forms, but it is awkward for the user. Is there a way common to this address? As a backdrop, the user is updated the status of a message (IE, changing it from open to closed) and then provide an answer. The response table is separate from the table of messages because its format is doing different.

    Thank you and sorry to bombard the forum today.

    .oO (davidbarrackphoto)

    > I need to update a table and also to insert into another table and want to
    > do it in the same form. I can it will break in 2 different forms, but it is
    > awkward for the user. Is there a way common to this address?

    You can do what you want in your form processing script. But for
    much more advanced than you must write your own code.

    > As a backdrop.
    > the user updates the status of a message (IE, changing it from open to closed)
    > and then provide an answer. The response table is separate from the table of messages
    > because its format is doing different.

    Just curious: what is the difference? IMHO, there should be only one table
    for messages. Can you post more details about it?

    Micha

  • How to support multiple users at the same time?

    Hi all

    I have a Labview program that controls a parser via GPIB connector. When the user uses the software, user B must wait is made. But in fact, the parser is not very busy, when the user uses the software.

    I want A, B, C and D of the user may use the software at the same time. just as we can open several Web sites at the same time.

    How can I program the software, so that software can be opened several times? Do you have any examples?

    Thank you very much.

    Steven

    Parallel SALVATION,

    you want to use the same material in different forums at the same time? What happens if the user uses a different device as user B setting?

    There could be problems to access the port of connection (GPIB card) at the same time too...

    It's the same usual problem, you'll have to any shared resource. Instead of calling the same software several times at the same time you should make your software up-to-date with multiple users...

  • SESSION VARIABLES: HOW TO TEST MULTIPLE USERS

    I have a username session variable set up on a localhost envirnoment test.

    This works very well for a user, but when I open another instance of the browser (or just another tab) to test for multiple users, the system replaces the session variable with the last name of user input.

    So the question is:

    Why dreamweaver does not have an instance of the session for each browser session variable? and if not, what are your suggestions?

    Thank you

    Adam.

    This has nothing to do with DW. It's the way different browsers/versions handle the pooling of the sessions. Try with another browser/version and you are likely to get different results. Somewhere in all instances, others through tabs in the same case, etc, etc.

  • How to create multiple user login on the stand-alone machine on Windows 7 Professional

    Dear all,

    I want to implement multiple user login on the stand-alone machine of Windows 7 Professional (there is no working group or active directory).
    There are 20 users in different positions.
    I want to create each logon with different password and set user policies.
    If I create so many users there will be number of boxes. So, I want the user to type their name and the password and login.
    Please help me if I can do it, and if the issue is not clear, let me know so that I can help what I want.
    Thank you
    Gregory Mhatre

    I have not tried (not had W7 pro), but this is the info you wanted? - http://social.technet.microsoft.com/Forums/windows/en-US/d42b07fa-530f-442a-9340-7f892e22a3be/change-login-prompt

    As I say, cannot try, just found by a search. Hope that I have not misunderstood.

  • How can I export table and cell styles to use in another InDesign document?

    I've been looking for... and looking but cannot find out how to export table styles in InDesign CC. If there is an option of the control panel load table styles, it goes without saying that there should be an export. Any help would be appreciated, thanks.

    Frank.GRG wrote:

    If there is an option of the control panel load table styles, it goes without saying that there should be an export.

    I understand your logic, but you think too much of it. Charge function Styles opposes the need for an export feature. When you call the function of load, you simply select the source document, then the individual styles that exist already in it. They need not be implemented beforehand.

  • How to export a table and the table as an image?

    My VI generates a table (formatted with different colors of text and cell), plus a text box, as well as a table (formatting with a background color).

    I can group these objects on the front panel and copy them as a single unit, and paste them into PowerPoint.

    Is it possible to do this automatically, have labVIEW group together them as a single object and export it as an image file with the name of the file in the form of control? See the example attached VI and the image below:

    Here's a way to do it.

    1. create a decoration on the FP that surrounds the controls

    2 get a reference to the decoration and the MasterBoundRect property to define a subset of the image of the public Service

    3. save the subset of the image

    You can color the transparent decoration to hide it if you wish.

    If the method works for you, there are more complex and yet robust methods to get the reference of the decoration.

  • How to handle multiple formats of date to the same date field in SQL * Loader

    Dear all,

    I have a requirement where I need to get data from a text file and even insert into the oracle table.

    I'm using SQL * Loader to fill data from the text file in my table.

    The file has an area where I expect to date data date in different formats, such as MON/dd/yyyy mon/dd/yyyy mon/dd/yyyy, dd/mm/yyyy, DD/month/yyyy.

    When you use SQL * Loader, I can see loading fails for records where we have formats such as LUN/jj/aaaa, Mon/dd/yyyy, DD/month/yyyy.

    Is it possible in SQL * Loader where we can mention all these date formats so that data from that date should go smoothly in the underlying date column in the table.

    Receive your answer on that.

    Thank you
    Madhu K.

    I think following could be the solution to your problem:

    Suppose if you have data from four different date formats, you need to load the data into four different tables by running SQL * Loader four times and each time specify other date format in the control file whose data to load, and then at the end, merge data from these four different tables using the UNION clause.

    Elya

  • How to reverse a table and his title when they are on 2 different paragraphs? ...

    Hi all

    Any idea?  Thanks for your comments!

    1:

    tables = app.documents[0].stories.everyItem().tables.everyItem().getElements();
    for (i = tables.length-1; i >= 0; i--) {
      paragraph = tables[i].storyOffset.paragraphs[0];
      title = paragraph.parentStory.insertionPoints[paragraph.index-1].paragraphs[0];
      paragraph.move (LocationOptions.BEFORE, title);
    }
    

    2: you probably meant to write "do you think the process can do the reverse, placing the table before the title?

    tables = app.documents[0].stories.everyItem().tables.everyItem().getElements();
    for (i = tables.length-1; i >= 0; i--) {
      paragraph = tables[i].storyOffset.paragraphs[0];
      title = paragraph.insertionPoints[-1].paragraphs[0];
      paragraph.move (LocationOptions.AFTER, title);
    }
    

    Peter

  • As sysdba, how to grant create table to a user for a particular tablespace?

    I did the PRACTICE tablespace and user SEAN. How can I give SEAN the privilege to create a table in the practical tablespace?

    CREATE TABLESPACE PRACTICE
    DATA FILE
    ' F:\DBM\FALLB\DB2046\ORACLE\ADMIN\ORAC...
    SIZE 20 M
    DEFAULT STORAGE OF DICTIONARY OF MANAGEMENT MEASURE (1 M INITIAL FOLLOWING 1 M MAXEXTENTS 20 PCTINCREASE 0);

    CREATE USER SEAN
    IDENTIFIED BY SEAN
    PRACTICE OF TABLESPACE DEFAULT;
    GRANT CREATE SESSION TO SEAN;

    -----------------------------------------------
    -----------------------------------------------
    SEAN GRANT SYSDBA;
    +
    Sean/[email protected] CONNECT as sysdba

    Works, but what happens if I don't want SEAN have sysdba privileges?

    -----------------------------------------------
    -----------------------------------------------
    Another question would be if I don't give SEAN sysdba privileges and then I connect like sean and then perform a
    SELECT * FROM TAB;
    to display the available tables, how can I do so that I can only see the paintings I do myself instead of all tables in the database?

    Hello

    Connect as sys and grant after privs to SEAN, I added a few privileges as well.

    Do not give any user other than SYS sysdba priv, unless you intend to use user SEAN as a user administrative addition to SYS.

    GRANT RESOURCE TO SEAN;
    GRANT CONNECT TO SEAN;
    GRANT CREATE SESION TO SEAN;
      -- GRANT UNLIMITED TABLESPACE TO SEAN;
    GRANT CREATE VIEW TO  SEAN;
    GRANT CREATE PROCEDURE TO SEAN ;
    GRANT CREATE TABLE TO SEAN
      -- 1 Tablespace Quota for SEAN
    ALTER USER  SEAN QUOTA UNLIMITED ON PRACTICE;
     
    

    Concerning

  • How to allow multiple users to view alerts generated by a single user

    Hello

    I created some alerts in the log Insight 3.0 and I want my colleagues to be able to see and modify.  Is this possible?  If so, how can I do it?

    Thank you.

    Shared alerts do not exist today. The workaround is to create a shared user that several people can connect to. For more information, see: 3 reasons to use a Service account in the journal Insight - SFlanders.net

  • How to extract 1 ASA and put them in the new table

    Hello

    Can someone tell me how to extract a table and put in the new table. (eg. I have a table with no 1 to 1000, I would extract only 1, 30, 60, 90,...)  ?

    Please advise me.

    Thank you

    concerning


  • How to assign multiple responsibilities of user OBIEE

    Hi all

    How to assign multiple user when responsibilities OBIEE integrated with EBS R12.

    For example, I XXX_Custom, XXXX_Custom1 responsibilities of user1 in EBS. When I navigate to EBS to OBIEE how to get these two responsibilities. It is currently only a single responsibility.

    Thank you
    Srikanth.

    Ensure that EBS GLOBAL security context. User_name is assigned to the: variable system target session USER.

    Also in init block group change cela roles and use SQL in DataSource code change.

    SELECT '' DISTINCT ROLES, RESPONSIBILITY_NAME OF
    FND_USER, FND_USER_RESP_GROUPS, FND_RESPONSIBILITY_VL
    WHERE
    FND_USER.user_id = FND_USER_RESP_GROUPS.user_id
    AND FND_USER_RESP_GROUPS. RESPONSIBILITY_ID = FND_RESPONSIBILITY_VL. RESPONSIBILITY_ID
    AND FND_USER_RESP_GROUPS. RESPONSIBILITY_APPLICATION_ID = FND_RESPONSIBILITY_VL. APPLICATION_ID AND
    FND_USER_RESP_GROUPS. START_DATE< sysdate="">
    (CASE WHEN FND_USER_RESP_GROUPS. End_date IS NULL THEN SYSDATE TO_DATE (FND_USER_RESP_GROUPS.end_Date) to ANOTHER END) > = SYSDATE
    AND FND_USER.user_id = (SELECT USER_ID FROM FND_USER WHERE USER_NAME = ' VALUEOF (NQ_SESSION.) THE USER) ";

    In order to change, just check the initialization of sage online and do not allow caching.

    Save the changes and deploy this RPD, restart OPMN services and you should now see all the responsibilities of the EBS to OBIEE.

    Have you created roles in EM with the same name of responsibility?

    I hope this helps. Pls mark if he does.

    Thank you
    SVS

    Thank you

Maybe you are looking for