I have a SP that combines data according to several rules inside. now i have to run my SP for last 3 years but it takes 30 minutes to run for one month. so i multiplied SP code