Technical Article

Sproc to get First Day of the Month,First Weekday ETC

First Day of the Month, First Weekday, Total Days in this Month, Days In First WeeK, Days In Last Week,Total Weekend Days sample output: Given Date:Jul 16 2005 12:00AM First Day of the Month:7/1/2005 First Weekday (sun=1,sat=7):6 Total Days in this Month:31 Days In First Week:2 Days In Last Week:1 Total Weekend Days:10

2005-07-15 (first published: )

204 reads

Blogs

What I’ve learned in my first 100 days with a consulting group

By

In case you don’t follow me on LinkedIn or Twitter, your humble host joined...

Power BI as a enterprise data warehouse solution?

By

With Power BI continuing to get many great new features, including the latest in...

Daily Coping 30 Jun 2022

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Read the latest Blogs

Forums

Working with T-SQL function AVG ()

By Manvendra Deo Singh

Comments posted to this topic are about the item Working with T-SQL function AVG...

The Useful Cloud Tags

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Useful Cloud Tags

Choosing Filestream

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Choosing Filestream

Visit the forum

Ask SSC Logo Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers