>Thanks for the example Sergey. I did not know about derived tables :) I will try it first thing tommorrow. Hopefully i will slow down enough to actually learn more about SQL Server until then I'm glad you are around to get me pointed in the right direction:)