The following lines contain the word 'select', 'insert', 'update' or 'delete':
SELECT
request_id
FROM
fnd_concurrent_requests
WHERE parent_request_id=l_reqid_fsg;
SELECT
currency_code
FROM
gl_ledgers
WHERE
ledger_id=p_ledger_id;
SELECT
name
FROM
hr_legal_entities
WHERE organization_id=l_legal_entity_id;
SELECT COMPANY_NAME
INTO L_COMPANY_NAME
FROM JA_CN_SYSTEM_PARAMETERS_ALL
WHERE LEGAL_ENTITY_ID= l_legal_entity_id;
UPDATE FND_CONCURRENT_REQUESTS
SET
OUTPUT_FILE_TYPE = 'XML'
WHERE
REQUEST_ID = l_reqid_fsg;
SELECT
lookup_code
INTO
l_fsg_req_status_code
FROM
fnd_lookup_values
WHERE lookup_type = 'CP_STATUS_CODE'
AND view_application_id=0
AND security_group_id=0
AND meaning=l_fsg_req_status
AND enabled_flag='Y'
AND language = USERENV('LANG');
SELECT
lookup_code
INTO
l_cal_req_status_code
FROM
fnd_lookup_values
WHERE lookup_type = 'CP_STATUS_CODE'
AND view_application_id=0
AND security_group_id=0
AND meaning=l_cal_req_status
AND enabled_flag='Y'
AND language = USERENV('LANG');
SELECT
lookup_code
INTO
l_comb_req_status_code
FROM
fnd_lookup_values
WHERE lookup_type = 'CP_STATUS_CODE'
AND view_application_id=0
AND security_group_id=0
AND meaning=l_comb_req_status
AND enabled_flag='Y'
AND language = USERENV('LANG');