How to capture sql statemnts that belong to other users?

Hi all

I want to capture SQL statements that belong to a specific (at a certain time or spent) user. Let's say I use the HR user. I want to learn sql history of SCOTT. So, what can I do?

that has been locked because of the behavior not consistent with these forums.

You don't know what people do! How is it, you can lock my thread? It's not fair. Who do you think you are!

Do your job properly. Learn how to be IMPARTIAL and HONEST!

Before locking the threads, show RESPECT to people!

Tags: Database

Similar Questions

  • How can I share 'My images' with the other user accounts on my computer?

    How can I share 'My images' with the other user accounts on my computer?

    where are the 'experts' on these forums adverstised?  I can't get an answer to a simple question.  Does anyone know how to do this?

    Here we are, ok, I'm not an expert, but try this:

    Right click on 'My images' > share > specific people... > select that you want to share this folder with.

    ...

    After that, try to connect by using a different account. If you will not be able to open C:\Users\"FirstUser"\Pictures, you try to extend the network in the left pane of Windows Explorer > expand ComputerName > expand users > expand "FirstUser" > photos

  • Contact-> Service request - show only the SRs that belong to the user

    Hello

    Here's the scenario:

    User has access to all Contacts and can see did not have SRs.

    The role of user - can read all records = YES

    Profile of user access

    Contact - Readonly
    Related information under the Contact section:
    Service request - View (inherit primary does not appear in the drop-down menu)

    When I login, I am able to see all the Contacts (directed by role play) and also all SRs associated with this Contact.

    Problem: Only SRs belonging to the logged in user should appear. SR the other user should not be visible under the contact.

    I've seen examples of the use of ' inherit primary. " This option is not available.

    How to get this functionality? (Contact - read all records and associated Contact SNS should show only users registered in SRs)

    Here's a way to do this:

    -Instead of the Service request related information on the Contact details Page, create a Web Applet, and incorporate a report that resembles the Section Service request information.
    -Filter this report with a session variable, connection name and use this login name to filter the corresponding column on the report. On the report, add a link to action on the SR # so agents can pierce the ther SR detail page and update etc...

    This way the user will see only those SR what he or she has.

    -Royston

  • How can I protect my wireless internet from other users?

    I have a wireless internet connection, but my roommates keep access and I get not at any speed... so is it possible that I can protect my Internet access by other users? HELP PLZ!

    Thank you

    LL.

    Hello

    You can secure your network by using a security key.

    See the following links:

    "Set up a security key for a wireless network": http://windows.microsoft.com/en-US/windows-vista/Set-up-a-security-key-for-a-wireless-network

    "How will I know if a wireless network is secure?": http://windows.microsoft.com/en-US/windows-vista/How-do-I-know-if-a-wireless-network-is-secure

    "Why should I secure my wireless network?": http://windows.microsoft.com/en-US/windows-vista/Why-should-I-secure-my-wireless-network

    "Securing your network more ': http://windows.microsoft.com/en-US/windows-vista/Making-your-network-more-secure

  • How to grant access to "My dashboard" to other users?

    Hello!

    Is it possible for someone else to see my dashboard 'my '?
    In responses, under Dashboards folder, I can see all other folders on the right, except "My dashboard" even if it appears in the browser window on the left.

    I can obviously not reason with you then this is what you want. I guess you will need to learn from your own experience that you don't want to listen to all the advice and take it as an insult.

    Using Catalog Manager go to the user folder you want to share, and change ownership recursively on the account that you are logged on Catalog Manager with. Change and recursively cascading permissions to add the other user/group who wants to see the user dashboard. After you've done will be able to refer to dashboard of the user with a URL like this (assuming that the dashboard page named page 1 according to the dashboard of the user by default):

    /Analytics/saw.dll? Dashboard&PortalPath=/users/user/_portal&page=page%201&action=navigate

  • How to test this package that has defined the user as input types

    Hello
    I have this part of my package where I try to put insert/update / delete based on the value of the attribute "action":

    I need to test this package of sql * more command line, could someone help me write a command run to test this package.



    CREATE or REPLACE PACKAGE pkg_test_process BODY
    AS

    PROCEDURE iud_issue_col
    (pv_issue_version IN issue_version_t
    )
    AS

    BEGIN

    DECLARE
    lv_im issue_version_t;


    BEGIN
    lv_im: = pv_issue_version;
    lv_level: = 'ISSUE_VERSION ';

    DECLARE
    lv_imv issue_maint_t;

    BEGIN
    lv_imv: = lv_im.issue_maint;
    lv_level: = 'ISSUE_MAINT ';
    Dbms_output.put_line ('for the many round table')

    IF lv_imv.action = 'I '.
    THEN
    INSERT
    IN
    test_process
    (im_key_id
    sec_cusip
    issr_key_id
    issuer_id_nm
    im_orig_usr_id
    im_orig_cre_tmstp
    org_ref_id
    delete_ind
    add_usr_id
    add_tmstmp
    lock_level_num
    )
    VALUES
    (lv_imv.im_key_id
    lv_imv.sec_cusip
    lv_issr_key_id
    lv_issuer_id_nm
    LC_USR_ID
    LC_TMSTMP
    ' 111 '
    "N" - deletion indicator
    LC_USR_ID
    LC_TMSTMP
    lv_imv.lock_level_num
    ) ;

    END;
    END;
    COMMIT WORK;
    RETURN;
    EXCEPTION
    WHILE OTHERS THEN
    ROLLBACK WORK;
    RAISE_APPLICATION_ERROR (-20000, impossible to insert in ' | lv_level, TRUE);
    END iud_issue_col;


    While the type 'issue_version_t' is:

    CREATE OR REPLACE TYPE ISSUE_MAINT_T
    AS AN OBJECT
    (
    Number IM_KEY_ID
    , SEC_CUSIP varchar2 (12)
    , DELETE_IND varchar2 (1)
    , ADD_USR_ID varchar2 (20)
    ADD_TMSTMP timestamp
    , UPD_USR_ID varchar2 (20)
    UPD_TMSTMP timestamp
    Number LOCK_LEVEL_NUM
    , ACTION VARCHAR2 (1)
    ISSUE_MAINT_VERSION ISSUE_MAINT_VERSION_T
    ISSUE_MAINT_COMMENT_COL ISSUE_MAINT_COMMENT_COL_T
    );


    Any help would be greatly appreciated.

    Hi Solsam,

    something like that,

    Declare
       pv_issue_version issue_version_t := issue_version_t(ISSUE_MAINT_T( 'value' --IM_KEY_ID
                                                                        , 'value' --SEC_CUSIP
                                                                        , 'value' --DELETE_IND
                                                                        , 'value' --ADD_USR_ID
                                                                        , 'value' --ADD_TMSTMP
                                                                        , 'value' --UPD_USR_ID
                                                                        , 'value' --UPD_TMSTMP
                                                                        , 'value' --LOCK_LEVEL_NUM
                                                                        , 'value' --ACTION
                                                                        , ISSUE_MAINT_VERSION_T( 'value'
                                                                                               , 'value'
                                                                                               , ...
                                                                                               )
                                                                        , ISSUE_MAINT_COMMENT_COL_T( 'value'
                                                                                                   , 'value'
                                                                                                   , ...
                                                                                                   )
                                                                        );
    Begin
       pkg_test_process.iud_issue_col( pv_issue_version );
    End;
    /
    

    Kind regards
    Christian Balz

  • How you disable the BEEP that always makes the user interface?

    I have my computer the silent mode (no sound card under voltage, no volume,), but still the beeps of LabView to me whenever he does something.  I need to disable this option.  I can't find an option in the Tools-Options and nothing else seems to fit.  (I'm sure it's the stupid integrated oinker that Windows uses when it detects no keyboard and things like that, but I'm reluctant to cut the branches, but I might have to do).

    Oh, I remember from long ago! This isn't a problem of LV, but a general windows one. You can disable the beep in the following way:

    Open Device Manager (by management on my computer or control-> system-> hardware-> Device Manager)

    View-> devices show hidden

    No Plug-and play devices and and open

    right click and disable the beep

    /Y

  • Hi, I use my card of credit twice for the same subscription, how do I get refund that are changing other subscription product

    [Personal information by Mod]

    You need to deal with Adobe to fix the problems of billing that it is a site of user form.  Try to use the cat on Adobe.com, you may be able to do it to manage accounts and plans on this site after signing in.

  • Find all the segments that belong to a DOMAIN index (effective)

    Hello

    I'm going through several diagrams to a different tablespace (because some objects have been created in wrong tablespace).

    Although this isn't a big deal index and ordinary table, I can't figure out how to find the segments that belong to a DOMAIN index to check whether they are in the good (or bad) tablespace.

    A select * from dba_indexes where index_type = 'DOMAIN' gives me these indexes.

    The only way to understand the corresponding segments for secondary objects seems to match the segment names. So if the index is the name of FOO_IDX, the segments would be DR$ FOO_IDX$ I, DR$ FOO_IDX$ K, DR$ FOO_IDX$ R and DR$ FOO_IDX$ N.

    What I currently have, is the following statement, but it takes forever (> 5 minutes) to find the clues of the field on the 'bad' even for just a single user tablespace:

    select *
    from dba_indexes idx
    where idx.owner = 'FOOBAR'
    and idx.index_type = 'DOMAIN'
    and exists (select 1 
                from dba_segments seg
                where regexp_replace(seg.segment_name, '^DR\$|\$[RIKN]$', '') = idx.index_name
                  and seg.owner = idx.owner
                  and seg.tablespace_name = 'WRONG_TBS'
                  and seg.segment_type = 'TABLE');
    
    

    I can't find a system view, linking a segment to the 'owner' index directly without going back to the distortion of the name.

    It's my version of Oracle:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    PL/SQL Release 11.2.0.1.0 - Production

    CORE 11.2.0.1.0 Production

    AMT for Linux: Version 11.2.0.1.0 - Production

    NLSRTL Version 11.2.0.1.0 - Production

    Andrew, beautiful recoding of the SQL.

    casorp, how you looked at the content of the all_secondary_objects?  I think that this point of view has the information you want, but I don't have any domain defined index I can think to use as a check.

    - -

    HTH - Mark D Powell.

  • OID 11.1.1.6 - belonging to the user group management

    Dear,

    Is there a way of OIDS to manage the users, via a specific user attribute group membership?

    You all know that in AD for example, it is an attribute of the user "memberof" that could be used for this purpose I tried looking in OID for a similar attribute and actually found this a "orclMemberOf", however I can't figure out exactly how to use it. I tried editing through DOHAD, but got an error "constraint violation". I also tried to use ldapsearch as mentioned in this post Oracle Fusion Middleware security: group membership Fast searches within the OID with the attribute of orclMemberOf, but the attribute is not returned in the search results.

    Any ideas... ? We just want to know if the only way to manage the belonging to a group is done using the attribute 'uniquemember' of the group, or if it can be configured on the user object.

    Thank you

    White

    That can only means that is not your attribute to multiple values of the group.

    The default value for the OID, groups have an objectclass of groupOfUniqueNames and their membership multi value attribute is uniqueuniquemember.

    So lets say, you want to know the groups the admin account is a member, your application would be as follows:

    (uniqueMember = cn = orcladmin, cn = Users, dc is sampledomain, dc = com)

    This would release all memberships that belongs to the user.

    -Kevin

  • Windows 8 shows the other user when I start. How can I disable this?

    When I start my computer, I get a screen that says the other user. I have to hit enter where the password should go and then I'll get the back button which will reveal my user account, but the other user account is listed next to it. I don't have an active guest account so I don't know what the other user account and I can't turn it off. I had my computer configured to just start up and go to my Start menu. I'm not sure but I think after an update to windows 8 a few weeks ago he has changed. I took the shot of what it looks like, but I'm not sure how to download on this forum. I looked to see if anyone else has had a similar problem, but I haven't seen any. Anyone know what is happening? Thank you

    Hello

    Before reinstalling the operating system, I suggest you update Windows 8. Check out the link to do so:
    "How do I restore, refresh or reset your PC.
    Read the sections "refresh your PC without affecting your files.
    Note: The applications that came with your PC or you installed on Windows Store will be reinstalled, but all the apps you have installed other Web sites and DVD is deleted. Windows puts a list of applications on your desktop after you refresh your PC.
     

    Please answer us with the status of this issue.
  • I found a pad that belongs to someone, so I know how the owner to return the unit

    found an ipad that belongs to someone, then how do I know that the owner to return the unit

    Take it to your local police station.   Receive a delivery receipt.   Advertise your find in the location that you found.

  • How to call hr_location_api.create_location to style different address with only fields that belongs to this style of address-specific.

    How to call hr_location_api.create_location to style different address with only fields that belongs to this style of address-specific. It should decide at run time indicates the time he will come to know the type of style of address and on this basis that the fields that belong to the details of the address mapped to hr_location_api.create_location calling.

    Thanks in advance.

    You can create a package wrapper above the API (hr_location_api.create_location)

    In the package wrapper, you set all values dynamically according to your needs (for example the style and add_line columns are filled on your requirements) then, you call the API.

    It doesn't work?

  • How to execute a SQL statement that is stored within a SQL Table

    Hello

    If someone please help me with the following problem I would be eternally grateful

    I have a SQL statement that is stored inside a certain SQL table, I want to use this SQL statement inside my PL/SQL procedure.

    Thought a simple solution was to get the SQL statement in a table, and then run it, but how could I do so exactly with PL/SQL? I only started to play with PL/SQL in the last days.

    Thanks in advance!

    This is what it looks like more or less:

    Display result for:

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

    SELECT TRIM (OBJ_VALU_TXT)

    OF OBJ_VALU_DOC

    WHERE TYPE_OBJET = 'FLD '.

    AND OBJECT_CODE = 15443

    AND OBJ_VALU_CD = 'CAB '.

    ORDER BYDOC_SEQ_NO

    00001

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

    SELECT

    VALUE (MAX (RECEIPT_NO) + 1,: OUT-COMP-FACTOR)

    THE FRONT DESK

    WHERE (RECEIPT_NO BETWEEN

    (: OUT-COMP-FACTOR AND: OUT TO A NUMBER) OR

    (RECEIPT_NO >: OUT-COMP-FACTOR AND)

    (: OUT-TO-NUMBER = 0)

    Here's a demo of your condition.

    create table t (col1 varchar2 (200));

    table created

    insert into values t ('select * from double ');

    1 row inserted

    declare
    v_col varchar2 (200);
    v_val varchar2 (200);
    Start

    Select col1 in t v_col;

    run immediately v_col in v_val;
    dbms_output.put_line (v_val);
    end;

    -----
    X

    Use in the clause, you can use as many variables as needed. But the basic approach remains the same.

    But storage in DB SQL is not an efficient design.

    Ishan

  • How to remove or modify a captured text layer that contains a single character in Cp 5?

    My captured text layer contains a single character "7". This makes it immediately when I publish the movie, but I don't get any options when I try to change the layer by clicking right on it.

    Can anyone help because it is very annoying...

    Hello

    Welcome to the forum.

    Since you mention "capture", I assume that you point to an object of typing? You cannot change this immediately. Depending on what you want to achieve, could provide two workaround solutions:

    1. If you only want to display something hits (demo - but another text that your character), replace the strike by a text Animation object (context menu), you will be able to change.
    2. If you want the user to type text, remove the object of typing and replace it with a text entry area.

    Lilybiri

Maybe you are looking for