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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to derive the username that owns the SQL in V$SQLAREA

Re: How to derive the username that owns the SQL in V$SQLAREA

From: Peter Teoh <htmldeveloper_at_gmail.com>
Date: Mon, 3 Dec 2007 06:47:21 -0800 (PST)
Message-ID: <7ebe4ab9-a74c-4f4b-9984-76a617d8ef49@e10g2000prf.googlegroups.com>


On Dec 2, 8:13 pm, Connor McDonald <connor_mcdon..._at_yahoo.com> wrote:
>
> v$sql.parsing_user_id (joined to dba_users.userid) could be a
> reasonable approximateion
> --

Yes, I agree, tested for "scott" schema, that is quite a close approximation. Any examples where parsing_user_id and execution user id is not the same? Received on Mon Dec 03 2007 - 08:47:21 CST

Original text of this message

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