In a Stored Procedure we are using partition function. The job runs based on the period like \'202001\',\'202002\' etc. For previous periods the sp was executed and now due