Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in SQL Server only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
SQL Server
Get days
Get days
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
sajithamol
#1
Get days
Jul 11 '07, 06:28 AM
Is there anyway i get the total number of working days between two specified dates in TSQL?
Vidhura
New Member
Join Date:
May 2007
Posts:
99
#2
Jul 11 '07, 08:34 AM
Originally posted by
sajithamol
Is there anyway i get the total number of working days between two specified dates in TSQL?
Hope the following helps
select datediff(d,getd ate(),'12/12/2007')
Comment
Post
Cancel
shaileshb
New Member
Join Date:
Jun 2007
Posts:
27
#3
Jul 12 '07, 11:46 AM
u can use the query like
Select Sum(WorkDays) TotWorkDays From WorkTable
Where WorkDate Between '01/01/2007' AND '06/30/2007'
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment