SDU Tools 124 Calculate Day Number of Month in SQL Server T SQL

Опубликовано: 23 Октябрь 2024
на канале: SQL Down Under
68
0

Ever wondered how to calculate a date like "2nd Tuesday of the month" or "3rd Wednesday of the month"? SDU Tools are free tools and example T-SQL code for SQL Server developers and DBAs. DayNumberOfMonth is a function that lets you do just this type of calculation.

To join SDU Insiders and get all our free resources, including SDU Tools, see the details at http://sdutools.sqldownunder.com