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: 'user commits' statistic for one user

Re: 'user commits' statistic for one user

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Wed, 16 May 2001 20:06:52 +0200
Message-ID: <tg5g9r7qc2vk87@beta-news.demon.nl>

"Jack" <No_at_Mail.Please> wrote in message news:jkyM6.31453$662.165155_at_news1-hme0...
> Hi
> Is there a way of finding the number of 'user commits' (or number of
> transactions) for one user only?
>
> Thanks
>
>

If you need the sid of the session
you can use v$sesstat where sid = <yoursid>

You can know the sid by
running
select sid
from v$session
where audsid = userenv('sessionid')
/

in your program.

Hth,

Sybrand Bakker, Oracle DBA Received on Wed May 16 2001 - 13:06:52 CDT

Original text of this message

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