PL/SQL rodando no momento

–######################################################################
–# Autor : Rodrigo Mufalani (rodrigo@mufalani.com.br)
–# Data : Mar 6, 2012
–# De : Mufalani
–# Para :
–# Motivo: Relatório PL/SQL sendo executados
–######################################################################
–# Obs :
–######################################################################

select
nvl(s.username,’Oracle Background Process’) username
, s.sid
, s.serial#
, s.program
, s.machine
, o.object_name
from
v$session s
, dba_objects o
where
o.object_id = s.plsql_object_id
and
s.plsql_object_id is not null;

Deixe uma resposta

O seu endereço de email não será publicado. Campos obrigatórios são marcados com *