datepart function returns "wrong" weeknumber

  • You might want to take a look at BOL for "CREATE FUNCTION". There's a nice example how to calculate the ISO week number.

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

Viewing post 1 (of 2 total)

You must be logged in to reply to this topic. Login to reply