SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Date counting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

annamaria
Starting Member

Israel
30 Posts

Posted - 02/26/2008 :  07:30:16  Show Profile  Visit annamaria's Homepage  Reply with Quote
review

Edited by - annamaria on 12/26/2008 10:16:05

madhivanan
Premature Yak Congratulator

India
22765 Posts

Posted - 02/26/2008 :  07:34:17  Show Profile  Send madhivanan a Yahoo! Message  Reply with Quote
One of the methods

Select count(*) from table
where datecol between date1 and date2 and datename(weekday,datecol) not in ('saturday','sunday')

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

sodeep
Flowing Fount of Yak Knowledge

USA
7174 Posts

Posted - 12/26/2008 :  16:56:16  Show Profile  Reply with Quote
quote:
Originally posted by annamaria

review



Remember, If you keep on deleting like this, You won't get any help from experts over here.
Go to Top of Page

madhivanan
Premature Yak Congratulator

India
22765 Posts

Posted - 12/27/2008 :  00:45:24  Show Profile  Send madhivanan a Yahoo! Message  Reply with Quote
quote:
Originally posted by annamaria

review


What is meant by review?

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 12/27/2008 :  11:34:31  Show Profile  Reply with Quote
quote:
Originally posted by madhivanan

quote:
Originally posted by annamaria

review


What is meant by review?

Madhivanan

Failing to plan is Planning to fail


may be OP just wanted to mark threads reviewed
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000