• a ) is missing in the line (at the end).

    Then Ceiling((@start + (@commonDiff * (@counter -1))) * Power(10,1))/Power(10, 1

    Otherwise a very nice example 🙂

    Søren,
    MCITP SQL 2008 (administration / programming), MCITP SQL 2005 (BI), MCT