How to find out the oracle level user(sid) who is updating the table?

Hi everyone,
I am creating a update trigger which is to look for the user (sid) who is updating the rows in this table. Is there any lower level dynamic view or table I can use to find out the user?
Thanks for any help.
Jun

Hi, please repost this question in the Database section under the SQL & PL/SQL discussion forum
PL/SQL
thanks - OTN

Similar Messages

  • How to find out what Oracle version?

    Hi,
    Could anyone tell me how to find out what Oracle version is on your AIX/Unix machine? It looks like Oracle Installer doesn't use the native OS installation(installp,pkgadd) process, so I can't use lslpp/pkginfo to find out what filesets are installed.
    Thanks
    HQ.

    Hi!
    As far ar Oracle version is concerned, you can find it at the database level after connecting to the database
    select * from v$version;
    i am not sure if there is someway to find at the o/s level.
    Good luck
    null

  • How to find out whether Oracle database was upgraded ??

    Hi,
    I need to find out whether my Oracle database was upgraded, If yes how to find out by SQL query .I know their is database_properties table, but when I try to query that it didnt gave me the output which I required.
    Like in SAP we have uvers table which keep info about the upgrade history, whether such history is avaliable in oracle ?? . Iam looking out for output which is like old database Release 9.2.0.7 and new database release 10.2.0.2.
    Whether similar such history is maintained in Oracle database.
    Awaiting for your feedback.
    Kind Regards
    Neenad

    Hi all,
    After checking all the material,I dont think prior to 10g, oracle register its earlier version.
    The views of v$version show the current version for various components and also dba_registry displays info about catlog/catproc versions.
    In 10g, you can use the following query to know the version when the database was broughtup.
    select startup_time,version,db_name from dba_hist_database_instance.
    Anways thanks to all of you.
    Kind Regards
    Neenad

  • Oracle 10g - How To Find Out If A Forms User An Intranet Or An Internet?

    Is it possible to find out if the login user using intranet or internet (Oracle Form 10g)? If not, can you please advise the workaround solution?
    Thanks,
    TD

    the only thing which differs could be the ip adress from both clients so if the client ip adress is in your internal range its from your intranet and if its mot from your range its from the internet..I didnt try this but I think you can verfy the client ip via a java bean or via webutil...

  • How to find out number of concurrent users  connectd to a site?

    I would like to find out the number of concurrent users on my site. What is the best way to do it?
    This is how I implement it currently:
    I have a HashSet object in the session. whenever a user visits the page, i added the user's sessionID to the HashSet. But when a user leaves my page, it won't inform my jsp pages. The only thing I can do now is whenever I add a new sessionID, I loop through the HashSet and check to see which sessionID is invalid or inactive, then remove the it. Does a user session becomes invalid immediately when the user leaves the page, or it has to wait till it times out?
    Are there any other more efficient ways of doing it?

    Look at HttpSessionBindingListener. That will let you do what you want to, correctly.
    User session will time not. If it were to become invalid immediately, it won't be called a "session" would it?

  • Regarding how to find out a program is User Exit/executable

    Hi,
    Can anybody tell me how can we find wether a particular program is used in executable program (or) user exit program?
    One thing we can find out is wether the program type is 'I' or 'R' etc..
    Thanks in advance.
    Thanks,
    Deep.

    Hi...
    See the following links..
    it helps you a lot..
    how can we C the USER_EXITS in Z programs
    how can we find the list of user exits for a transaction
    How to find the active user exits in my client
    How to find user exits for a transaction
    Hope it helps you...
    Let me know if u have any more doubt...
    Reward points if useful......
    Suresh.......

  • How to find out from whcih terminal user tried logging in and failed

    Hello All,
    One of the user is trying to login using master userid (SAP* / DDIC).. But he is failing after three attempts resulting in locking the SAP* / DDIC user id.
    We are unable to trace who is attempting this? If we know from which terminal user is trying to login we can find out the person.
    Even in SM21 we are unable to see from which terminal user is trying to login..(We can see the terminal clearly in SM04). Could you please suggest us how to trace the person responsible for this issue?
    Thanks,
    Subbu

    Hi,
    The terminal details can be obtained through securiy audit logging.
    You can enable to Security logging for the users SAP*/DDIC using the tcode SM19 and the logs can be viewed using the tcode SM20.
    To  to activate the security audit logging you need to set the value '1' for the parameter rsau/enable. The log file size can be set using the parameter rsau/max_diskspace/local. You can set the number of slots to be used for security auditing purpose using the profile parameter rsau/selection_slots in the default profile.
    Hope this information helps.
    Regards,
    Varadhu

  • How to find out total active employess/users in PeopleSoft system.

    Hi,
    We need to find out how many terminated employees and how many active employees we have in our Peoplesoft system.
    Thanks.

    Hi rajesh,
    You can use SU10, then click on "Authorization data" -> put * on user -> execute.. you should get a list of all users in the client with details included...
    Also you can list them using USMM and check all licensed users....
    Also SUIM -> users by complex selection criteria -> By user id -> put * on user -> execute.
    Regards
    Juan

  • How to find out if Oracle is Installed in server

    I apologize for the simple question but no one in here seems to know if our server has Oracle installed or not. I have no experience in Oracle and have root access to the server but dont know the command to check wether Oracle is installed or not! anyone?
    I thank you in advance for any help
    Eduardo

    This is one of those questions that can be a bit difficult to answer, given all the possibilities in the world. Since you said the magic word "root" I will assume you are on unix or at least a posix system.
    http://tahiti.oracle.com has installation guides, find the one for your platform and check that. It should give a good foundation of what you want to look for. But some people get creative and some things are decisions by the DBA.
    Since oracle may be installed and not running, looking for oracle processes may not tell you if oracle is installed. But a ps|grep ora can often give clues. It is even possible to delete files while oracle is running... (I've seen oracle uninstalled - it keeps running but new users can't log in. This is because rm a file doesn't actually remove a file until everyone is done with it.) Also, check ipcs - shared memory being used by oracle is a clue oracle is installed and/or running, but even that can be misleading with some configurations - sometimes a bungled startup will leave a mess.
    Many unix systems have clues in /etc or /var/opt. Look for files with names like oratab and oraenv. Look at your passwd and group files, see if there are users with names like 'oracle' and groups like 'dba'. Look at user .profile, .cshrc, .bashrc, .kshrc files and see if there are references to oracle environment setting. $ORACLE_BASE, $ORACLE_HOME, $ORACLE_SID are often good clues, as well as references to oraenv or similar names. Look at the system startup files and see if there are references to oracle: there could be things like /sbin/rc*/*ora*, /etc/rc.d/*/*ora*, and so forth. Often the rc directories have a link to an init directory, such as a file like /sbin/init.d/oracle. There may be an inventory around somewhere called oraInventory, perhaps under $ORACLE_BASE, and installation log files, check your install guide for names. Also, if you have found $ORACLE_HOME and $ORACLE_SID in an oratab, you might check $ORACLE_BASE/admin/$ORACLE_SID/bdump/alert*log. Be aware that $ORACLE_HOME and the "oracle home directory" probably are not the same.
    Older systems that have been clumsily dealt with may have all these things, and yet still not have "oracle installed." Good luck.
    For these reasons and more, usually you would want to specify exact platform and oracle versions.
    Edit: fixed alert log location

  • How to find out EHP Patch Level

    Hi All,
    Sorry if this has been answered before but with it hasn't or I'm terrible at finding things on here.
    We have recently (this weekend) upgraded our BI 7.0 to BI7.01 (EHP1).
    We've come across an issue in Java and the following note: 1354569 has a solution for us except that it's saying that this issue is resolved in SP5 or EHP1 SP4 PL5.
    I can tell from our system that we are currently on EHP1 , but I can't tell what SP or patch level we're on.
    The Java Kernal tells me the following:  7.01 PatchLevel 58805. (this was taking from System Information on the Java stack)
    Does this mean that we're on SP5? and if so what PL ???
    Thanks in advance for any help!!
    Paul

    Hi Paul,
    Go to http://<server name>:5<instance number>00. On this page log on to System Information. There you can find on which patch level you are in EHP1.
    Also, if you will click on all components tab then you will come to know patch level of all components in Java.
    Thanks
    Sunny

  • How to find out roles for a user

    Hi Experts,
                How do i find the roles that are assigned to me and for other users of BW and R3.
    Thanks
    Dave

    hi Dave,
    you can try table AGR_USERS,
    UNAME for user and AGR_NAME = role(s) assigned.
    or transaction SU01 to see user detail.
    (normally bw developer no authorization for this).
    hope this helps.
    PS.
    Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.
    Spread the wor(l)d!

  • How to find out total of number of users accessing Hyperion Planning applications ?

    Hi All,
    Could someone help me with the details of how to find out total number of users who are accessing Hyperion Planning application in Env.?
    This is with regard to licenses so wanted accurate and unique information,
    Thanks
    Amith

    Hello Amith,
    I think you should have a look at the blog of Cameron Lackpour http://camerons-blog-for-essbase-hackers.blogspot.be/
    In the "Shared Services Stupid Trick" blogs, he shows how to find the real access to an application. The side benefit is that it is amusing to read.
    In how far this is OK for the licenses is written on another page. You likely need to use the same method as Oracle does. Ask the Salesperson how to do this. (I am curious what his/her reply is).
    Regards,
    Philip Hulsebosch.

  • How to find out which session is consuming the most of sga

    Hello,
    I have a server that is running out of swap space. I like to find out which oracle session is using a lot of the sga. Which data dictionary has this view? Thank you. 9208, linux 4.

    How did you configure SGA memory managment?
    How much real memory is available on the machine?
    How large did you make the SGA?
    How much PGA do you think you need?
    See Oracle version# Reference manual and start with
    v$process -- show pga per process and can be joined to v$session to identify front-end process
    v$pgastat
    v$sga
    v$sgastat
    HTH -- Mark D Powell --

  • How to find out whether a particular changed by some user

    Hi gurus,
                I am just trying to figure it out how to find out whether a particular user has changed a particular table or not. In other words table changes history. If any of you know about it please let me know.
    Thankyou
    Jason

    Jason,
      Ajay mentioned changes to Table not for Data. If you are looking for Changes to Table Data... you need to check System Log SM21. check for that perticular period.
    Nagesh Ganisetti.
    Assign points if it helps.

  • How to find out company code from a plant ?

    Hello friends,
    I have to modify a program that uses FM "BAPI_COMPANYCODE_GET_PERIOD".   For that, we have to export company code ID.  Currently it is hard coded with one company code.  Now we want to make this program usable by all company codes.  So instead of hard coding, I would like to dynamically find out company code based on the plant.   So I want to know - how to find out company code from a plant ?  Is there any table that has plant to company-code assignment data, or any other FM/BAPI to get this info ?
    Thanks,
    - Chetan

    hi
    u can find this from table T001K
    or just goto EC01
    here click on STRUCTURE>NAVIGATION
    double click on co code u will get the list
    u can slo try this in EC02
    regards
    kunal

Maybe you are looking for