Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: OSUSER v 9.2.0.2 on linux

RE: OSUSER v 9.2.0.2 on linux

From: Lisa R. Clary <lisa_at_cog.ufl.edu>
Date: Wed, 07 Jan 2004 13:04:32 -0800
Message-ID: <F001.005DC040.20040107130432@fatcity.com>


Wow---I guess I have been missing out quite a bit going from 7.3.4 to 9i. Thanks to Tanel & Mladen! I didn't know it was that easy!

lc

-----Original Message-----
Mladen Gogala
Sent: Wednesday, January 07, 2004 3:45 PM To: Multiple recipients of list ORACLE-L

select sys_context('USERENV','OS_USER') from dual;

On 01/07/2004 03:14:32 PM, Lisa R. Clary wrote:
> Hi all,
>
> Can anyone point me in the direction on how to isolate the osuser for a
> single session? (I do know about V$SESSION). What I am trying to
accomplish
> is when a delete is made on a table, I want my trigger to push that old
> information into a "deleted" table--(no problem here) and include a field
> "DELETED_BY" that would contain the osuser performing the deletion. What
do
> I need to query as part of that trigger to capture that single osuser?
>
> Thanks much!
>
> lc
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Lisa R. Clary
> INET: lisa_at_cog.ufl.edu
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>

--
Mladen Gogala
Oracle DBA
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Mladen Gogala
  INET: mladen_at_wangtrading.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Lisa R. Clary
  INET: lisa_at_cog.ufl.edu

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Jan 07 2004 - 15:04:32 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US