Solved

Query to find work days in a month

Posted on 2012-03-21
3
343 Views
Last Modified: 2012-04-09
In T-SQL is there a query I can use to get the number of work days in a month minus holidays
0
Comment
Question by:TClevel
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
sventhan earned 500 total points
ID: 37749604
check this out...

http://sql.dzone.com/news/get-business-days-and-working-

Make your own holidays table and join to this.
0
 

Author Closing Comment

by:TClevel
ID: 37825292
Thanks I was out of town
0
 

Author Comment

by:TClevel
ID: 37825296
Thanks I was out of town
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question