How to trace a user who entered/dropped a table in a shared DataBase

Hai, I have a doubt plz help me
when working in a shared DataBase environment, different users will create or drop
tables from the DataBase. Is it possible to trace who has created/altered a particular table in the DB. If yes plz tell me the procedure.
Thanks in advance.
SrihariKrishna

Maybe this link provides some help?
http://asktom.oracle.com/pls/ask/f?p=4950:8:5395923770553724381::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:6399608034075
C.

Similar Messages

  • How to find the user who dropped the tables

    Hi All,
    Some one has dropped 5 tables in the production database that has caused a SEV1 but thankfully we are having those tables in recyclebin and we are restored those with out data loss.
    But I want to know who has dropped those tables and want to know who has connected to database at that time. Can you please guide me in this how to find out....
    Database version: 11.2.0.2 version
    Thanks
    Kk
    Edited by: 908098 on Jan 18, 2012 4:23 AM

    Or you can use this kind of audit (i had used this some time ago)
    -is pretty detailed but is good for auditing purpuse.
    hope this helps
    CREATE TABLE AUDITORIA_ESQUEMA (
    operation VARCHAR2(30),
    os_user VARCHAR2(30),
    obj_owner VARCHAR2(30),
    object_name VARCHAR2(30),
    object_type VARCHAR2(30),
    sql_text     VARCHAR2(64),
    attempt_by VARCHAR2(30),
    attempt_dt DATE,
    Ip_adress VARCHAR2(15));
    CREATE OR REPLACE TRIGGER AUDITORIA_ESQUEMA
    BEFORE CREATE OR ALTER OR DROP OR RENAME or alter
    ON DATABASE
    DECLARE
    oper varchar2(200);
    sql_text ora_name_list_t;
    i      PLS_INTEGER;
    BEGIN
    SELECT ora_sysevent
    INTO oper
    FROM DUAL;
    i := sql_txt(sql_text);
    IF oper IN ('CREATE', 'DROP','RENAME','ALTER') THEN
         INSERT INTO AUDITORIA_ESQUEMA
         SELECT ora_sysevent,(select sys_context('USERENV','OS_USER') from dual)
    , ora_dict_obj_owner,
         ora_dict_obj_name,ora_dict_obj_type, sql_text(1), USER, SYSDATE,
         (select SYS_CONTEXT('USERENV', 'IP_ADDRESS') from dual)
         FROM DUAL;
    ELSIF oper = 'ALTER' THEN
         INSERT INTO AUDITORIA_ESQUEMA
         SELECT ora_sysevent,(select sys_context('USERENV','OS_USER') from dual)
    , ora_dict_obj_owner,
         ora_dict_obj_name,ora_dict_obj_type, sql_text(1), USER, SYSDATE,
         (select SYS_CONTEXT('USERENV', 'IP_ADDRESS') from dual)
         FROM sys.gv_$sqltext
         WHERE UPPER(sql_text) LIKE 'ALTER%'
         AND UPPER(sql_text) LIKE '%NEW_TABLE%';
    END IF;
    END AUDITORIA_ESQUEMA;

  • How to trace which user shutdown oracle database in unix OS?

    our organization is having 10 DBA with sysdba priviladge. We are using UNIX operating system. At morning say for example if some one (SYSDBA user) shutdown the oracle database how other sysdba user trace the user who shutdown the database? the information i need is terminal from where oracle got shutdown and the username? Please help...

    Hello,
    You are right Sybrand, SYSDBA connections are always audited.
    My answer was about enabling auditing to any connections, which may give informations about who access to the Database in general. And, this is true, it was not the scope of the OP question.
    However, so as to enlarge audit of SYS/SYSDBA/SYSOPER operations, setting the parameter audit_sys_operations=TRUE may be interesting:
    http://download.oracle.com/docs/cd/E11882_01/network.112/e16543/auditing.htm#DBSEG0611
    To the OP:
    Where the audit tracefile get genareted for sys user?You may execute this:
    show parameter audit_file_destThank again Sybrand for correcting me.
    Best regards,
    Jean-Valentin

  • How to identify the user who created the variant

    Hi All,
    Can anyone tell me how to identify the user who created the variant ?

    Hi Dear,
    For the same go to SE11 and view the table "VARID". This table give the details of the program,user,variant etc.
    From this table u can know which user created the variant. Hope this solve your purpose.
    Regards

  • How to find a user who created message in satelite system ?

    hi all,
    Does anybody know how to find a user who created message in satelite system, but when there is no business partner created for him in Solman ? In tx crm_dno_monitro, crmd_order or dnotifwl  there isn`t any information. Is there any Tx or something where i can check it ?
    Regards,
    M.

    Hi,
    BP should ne maintained for the user in satellite system as a identification in solman system.
    how you are trying to create a message in satellite system..
    if you are using help-> create support message then, you can get the message log details on the table BCOS_PROT.
    please update us
    Thanks,
    Jansi
    Edited by: shivjansi on Jan 25, 2012 7:44 PM

  • How to find the user who deleted the contents of DSO.

    Dear friends,
    Can u please tell me ,how to find the user who deleted the contents of the DSO.
    The user has deleted the complete contents of the DSO. We need to find the user ,date and time.
    regards,
    Vijai

    Hi,
    If the user has used the manage option to delete the contents of the DSO then the changed by field will be updated by the users name. In case a program is used for the deletion then it wont be the case.
    Regards
    Govind.

  • How to restrict the user to enter only numeric values in a input field

    How to restrict the user to enter only numeric values in a input field.
    For example,
    i have an input field in that i would like to enter
    only numeric values. no special characters,alphabets .
    reply ASAP

    Hi Venuthurupalli,
    As valery has said once you select the value to be of type integer,once you perform an action it will be validated and error message that non numeric characters are there will be shown. If you want to set additional constraints like max value, min value etc you can use simple types for it.
    On the project structure on left hand side under local dictionary ->datatypes->simple types create a simple type of type integer
    The attribute which you are binding to value property ;make its type as simple type which you made
    Hope this helps you
    Regards
    Rohit

  • How to find the users who r assigned to profile sap_all through su01

    how to find the users who r assigned to profile sap_all through su01

    you can get into SUIM-->where used lists, check for users with profile SAP_ALL you can get a list of users who have
    it. and you can get into SUIM through SU01 from user information system link.
    you can execute RSUSR002 from SA38/SE38.
    RSUSR002  is the report which gets you the whereused list for profiles within roles, users.
    you can get it from transaction SECR ofcourse you are executing the same report.
    you can get from UST04 table and obviously USR04 also because sometimes you  miss some details from UST04 because of sync problems.

  • How to see all users who are allowed permissions for the specified entity ?

    How to see all users who are allowed permissions for the specified entity ? 
    And change user permissions for the current entity
    from Moscow with money

    Vincent,
    ... and how to change entity permissions for some users?
    from Moscow with money

  • How to trace a user System or I.P address

    Hi Experts,
    Had to ask how to trace a User's System or I.p address whom  has performed changes over a BEX Query.
    I have a situation where a user has done some changes in report it displays in last changed by user name:-****and last change date  but i would like to trace the system from which these changes have been applied over a the bex Query.
    Thanks in advance
    Aman

    Hi Aman,
    Please have a quick look at the note 368048 which explains why the terminal ids are blank in some cases and gives the solutions where applicable.
    If you want to see the current workstation with IP Addresses you can have a look at table USR41 which contains this information but this is not contained within the security audit log.
    539404     FAQ: Answers to questions about the Security Audit
    39418      Logging user actions
    As for your query, about viewing user's IP, you might need to get user's Terminal ID from STAT/AL08 and manually use tracert in MS-DOS command to see particular user's IP. EG:tracert myl5005500.
    Tracing route to <hostname>[10.10.10.10]
    over a maximum of 30 hops:
      1    <1 ms    <1 ms    <1 ms  <FQDN> [10.10.10.10]
    Trace complete.
    Note : I personally tested from logging in via query designer but my connections were not displayed in USR41. Once I connect to backend system my terminal IP could be traced.
    Regards,
    Naveen.

  • How to craete a user who can only browse the dashboard??

    Hi friends,
    How to create a test user who can only browse the dashboards and not able to modify any of the reports using answers??
    Please tell me the steps.
    Thanks

    @Alastair: I thought it'd be nice to start a new trend in the forum.
    @bob123: Depends on how you manage your user and groups in general. Everything created in the RPD? Read from some Oracle tables? LDAP/ADSI? You can do it in the RPD, in the web catalog (Edit Group -> Group Membership ==> The table below contains a list of the current members of this group. Users can join the group by entering the group's password from the Join Catalog Group screen, or you can manually add them by clicking Add New Member below.) or outside.

  • How to trace connect user ?

    Hi,
    How can I trace all user connection in a file ?
    I would like to know who connected (user oracle) and when.
    Thanks for your help,
    gnom92.

    You can see the figure how many connection made since the db starts up quering v$sysstat;
    select name,value from v$sysstat where name like '%logon%';
    NAME VALUE
    logons cumulative 132671
    logons current 175
    Generally, Oracle doesn't keep this information. You have to enable audit to keep this info.

  • Trace the user who has started the java instance.

    Hi Gurus,
    How can we trace the users those who restart the java instances?
    Regards,
    Ratan roy

    Hi,
    Check dev traces and java trace files
    \usr\sap\<SID>\<instance name>\work and
    usr\sap\<SID>\<instance name>\j2ee\cluster\server<n>\log
    and /usr/sap/<SID>/<Central instance name>/j2ee/JSPM/
    I am not sure wthr the user who started the instance will be traced you can also try and trace database log files . I am not sure of the path
    Rakesh

  • How to trace an user access

    Even if I've got no DBA permission (for example I don't see the v$session table), have I got any way to trace the users accessing the DB? How can I do? I was told about trace but can someone tell me more? I'd like to know the user accessing the DB and the operation that he's launching. Is it possible?
    Thanks!

    Anything is possible if you have the correct privileges. But then you probably don't have those privileges, and probably for a reason, as you probably also don't have the DBA role for a reason.
    If you are to enable trace in a different session, you would need execute access on an Oracle provided package, which differs by version, and of course you assume Oracle never changes, and there is only one version out there: yours.
    For a DBA it would be the easiest to grant you the select_catalog_role and the execute_catalog_role.
    But then again one would ask why you think you should spy on him, and why you don't cooperate with him and/or try to convince him.
    Sybrand Bakker
    Senior Oracle DBA

  • How to prevent a user from entering characters into a number field

    How do you prevent a user from entering characters like A or B into a field that is defined as a numeric field?
    Please note that
    - we use block validation (for other reasons)
    - we are not able to convert these numeric fields to character fields
    We want to avoid a user being hasseled with the FRM-40209 ... message.
    This message is
    - not very helpfull because it does not inform us what the problem field is
    - not suppressable
    Any hints ?

    I went back to the drawing board on this one.
    You are absolutely right : the message can be catched !
    By writing an on-error trigger you can check for the error number. Sadly enough my first attempt on this used the on-message trigger which never fired hence my desperation.
    Anyway, the on-error trigger in combination with :SYSTEM.CURRENT_ITEM or :SYSTEM.TRIGGER_ITEM enables me to display a more meaningfull message to my users.
    Thanks for the hint.

Maybe you are looking for

  • Using variables in sql session

    HI i want to use lv_file value to spool the file how can i use it set define off set serveroutput on size 100000; variable lv_file varchar2(200) begin :lv_file := 'amt_test_config'||to_char(sysdate,'HH24:MI:SS')||'.err'; end; prompt &&lv_file spool &

  • Lumia 920: Internet Sharing no longer works after...

    I have a Lumia 920 that's a developer build that was provided at Microsoft Build.  After the latest OS update, I am no longer able to start Internet Sharing.  I receive a notification that I need to upgrade to a plan that supports mobile hotspot.  I

  • The content of my email is different from it's summary?

    i get mail on my mac account and in the summary i can see who send it and what's the subject. when i open up the mail, it is no longer the new unread message, but some old mail from long ago (up to 5 years ago) from some other sender. who know how to

  • Is there anyway to connect a Kindle Fire?

    I want to add a Kindle Fire as a tablet device.  Is there anyway to get this done?

  • Dynamic JTree; updating the Jtree during app execution

    I have a JTree that renders a DOM Tree. All is well. I can set different icons in the tree depending on the type of node. The functionality I need is to dynamically change the icon in the JTree for a given node. I have a wrapper object that extends D