The following lines contain the word 'select', 'insert', 'update' or 'delete':
l_api_name_full CONSTANT VARCHAR2(61) := 'CS_SERVICEREQUEST_VUHK'||'.'||'Update_ServiceRequest_Pre';
SELECT * FROM CS_INCIDENTS_ALL_B WHERE
incident_id = l_request_id;
SELECT * FROM CUG_INCIDNT_ATTR_VALS_VL WHERE incident_id = l_request_id;
SELECT end_date from WF_ITEMS where
item_type = 'SERVEREQ' AND
root_activity = 'CUG_GENERIC_WORKFLOW' AND
item_key = l_request_number_key;
SELECT activity_end_date from
wf_item_activity_statuses_v where
item_key = l_request_number_key AND
activity_name = 'CLOSE_REQUEST';
FND_MESSAGE.Set_Name('CUG', 'CUG_SR_UPDATE_NOT_ALLOWED');
FND_MESSAGE.Set_Name('CUG', 'CUG_SR_UPDATE_NOT_ALLOWED');
END Update_ServiceRequest_Prevent;