Home Forums SQL Server 7,2000 Backups function or procedure for dynamic generation of weeks for given month period. RE: function or procedure for dynamic generation of weeks for given month period.

  • Hi,

    you should consider using a calendar table.

    A start point would be the code posted by GSquared in http://www.sqlservercentral.com/Forums/FindPost513748.aspx



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]