SDU Tools 155 Date Diff No Sundays

Опубликовано: 17 Март 2026
на канале: SQL Down Under
21
0

SDU Tools are free tools and provide example T-SQL code for SQL Server developers and DBAs. There is often a requirement to calculate the number of days between two dates in T-SQL, where you don't want to count Sundays. The DateDiffNoSundays function does this.

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