OPEN CURSORS BY SESSIE

Dit script laat het totaal aantal cursors zien die een sessie open heeft

 

--totaal cursors open, door sessie 
SQL>select a.value, s.username, s.sid, s.serial#
from v$sesstat a, v$statname b, v$session s
where a.statistic# = b.statistic# and s.sid=a.sid
and b.name = 'opened cursors current';
 

Advertentie

>

Poll

Voorkeur
 

Wie is er aanwezig

We hebben 303 gasten online