The following lines contain the word 'select', 'insert', 'update' or 'delete':
select amount_dr
from ar_distributions
where source_id=p_trh_id
and source_table='TH'
and source_type=p2_status;
select amount_applied
from ar_receivable_applications
where applied_customer_trx_id=p_customer_trx_id
and status='APP'
and link_to_trx_hist_id=p_trh_id;
select acctd_amount_dr
from ar_distributions
where source_id=p_trh_id
and source_table='TH'
and source_type=p2_status;
select amount_applied_from
from ar_receivable_applications
where applied_customer_trx_id=p_customer_trx_id
and status='APP'
and link_to_trx_hist_id=p_trh_id;