Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Date counting

Author  Topic 

annamaria
Starting Member

30 Posts

Posted - 2008-02-26 : 07:30:16
review

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-02-26 : 07:34:17
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
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-12-26 : 16:56:16
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

22864 Posts

Posted - 2008-12-27 : 00:45:24
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

52326 Posts

Posted - 2008-12-27 : 11:34:31
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
   

- Advertisement -