In table B you have a date of 2/1/08 as the effdate, why?? Also you say ID 2 should be imported but why do you have a paymentvalue of 100 if that is the case, it's 50?Insert into TableB(AgencyCD,AgencyCostCD,EffDate,EndDate,PymntValue)Select a.AgencyCD,a.AgencyCostCD,a.EffDate,a.EndDate,a.PymntValue from TableA awhere datediff(Day,a.EffDate,a.EndDate) <= 365
Success is 10% Intelligence, 70% Determination, and 22% Stupidity.\_/ _/ _/\_/ _/\_/ _/ _/- 881