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.
| Author |
Topic |
|
avmreddy17
Posting Yak Master
180 Posts |
Posted - 2010-01-31 : 22:12:01
|
| What is a good way to check if a given date is a third Saturday?ThxVenu |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2010-02-01 : 01:26:22
|
| ordeclare @date datetimeset @date='2010-02-21'if day(@date) between 15 and 21 and datename(weekday,@date)='saturday'print 'Third saturday'elseprint 'Not a Third saturday'MadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|