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 find out the SID???

Re: how to find out the SID???

From: Roman Starek <starek_at_pluto.spsselib.hiedu.cz>
Date: 5 Oct 2000 11:36:08 GMT
Message-ID: <8rhp38$ri2$1@crax.cesnet.cz>

Thomas Miskiewicz < thomas.miskiewicz_at_ecrc.de> wrote: : any idea?

        Yes

select sid from v$mystat where rownum = 1;

SELECT sid,serial#
FROM v$session
WHERE audsid = userenv('SESSIONID');

        The first one is better I think.

        Starous Received on Thu Oct 05 2000 - 06:36:08 CDT

Original text of this message

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