The following lines contain the word 'select', 'insert', 'update' or 'delete':
Select Name
From gl_alloc_batches
Where Allocation_Batch_Id = BATCH_ID
And Actual_flag = BATCH_TYPE_CODE ;
Select Name
From Gl_Recurring_Batches
Where Recurring_Batch_Id = BATCH_ID
And Budget_Flag = 'N';
Select rule_name
From pa_alloc_rules_all
Where rule_id = BATCH_ID;
Select Display_Name
From GL_WF_ROLES_V
Where Name = OWNER;