SDU Tools: Start of week and End of week in SQL Server T-SQL

I get really good feedback all the time from users of our free SDU Tools for developers and DBAs, but none more than when we have more and more date and time functions. One pair of functions that we added in v19 that was recently shipped was StartOfWeek and EndOfWeek.
These are simple scalar functions that take a single date parameter, and return the date for the start and end of the week that contains the date provided.
2020-04-15








