988: CURSOR c_payroll_month_dates
989: IS
990: SELECT ADD_MONTHS(LAST_DAY(p_effective_date),-1)+1
991: ,LAST_DAY(p_effective_date) 992: FROM dual; 993:
994:
995: -- The cursor to find out the total no of GRE/Legal entity chnages in a given month.
996: CURSOR c_gre_changes(p_start_date DATE