The following lines contain the word 'select', 'insert', 'update' or 'delete':
select version
into dbversion
from v$instance;
select DECODE(value, NULL, NULL, '_' || value)
into t_ident
from v$parameter
where name='tracefile_identifier';
select name, value
from v$parameter
where name='db_name' or name like 'user_dump%';
select p.spid
from v$session s, v$process p
where s.audsid = aud_sid and s.paddr=p.addr;
select userenv('SESSIONID') into audsid from dual;
select dbms_utility.port_string into platform from dual;
select DECODE(instr(upper(platform), 'WIN_NT') , 0, '/', '\')
into dir_sep
from dual;
select host_name
into node_name
from v$instance;
update fnd_debug_rule_executions
set log_request_id = req_id
where transaction_id = fnd_log.g_transaction_context_id
and debug_option_name = 'PLSQL_PROFILER';