• matt32 (2/10/2010)


    but you can create a sp instead when you want to use cte

    ... or you can create a view without OPTION clause and add OPTION to the SELECT statement 🙂

    SELECT *

    FROM month_since_200701

    OPTION(MAXRECURSION 0)