The following lines contain the word 'select', 'insert', 'update' or 'delete':
SELECT cr.concurrent_program_id
INTO l_conc_program_id
FROM FND_CONCURRENT_REQUESTS cr
WHERE cr.program_application_id = 140
AND cr.request_id = P_CONC_REQUEST_ID;
SELECT cp.user_concurrent_program_name
INTO l_report_name
FROM FND_CONCURRENT_PROGRAMS_VL cp
WHERE
cp.concurrent_program_id= l_conc_program_id
and cp.application_id = 140;
SELECT period_counter,
period_open_date,
nvl(period_close_date, sysdate),
fiscal_year,
PERIOD_NUM,
QUARTER
INTO l_period_PC,
l_period_POD,
l_period_PCD,
l_period_FY,
l_period_num,
l_quarter_num
FROM FA_DEPRN_PERIODS,
FA_PERIOD_MAPS
WHERE book_type_code = Distribution_Source_Book
AND period_name = P_PERIOD1
AND period_num = qtr_last_period;