May 27, 2008 #1 equus2 Programmer Mar 5, 2008 36 US Hi, I need to query that can calculate the date of the 3rd Friday of every month. Any ideas? Thanks much
Hi, I need to query that can calculate the date of the 3rd Friday of every month. Any ideas? Thanks much
May 27, 2008 #2 earthandfire Programmer Mar 14, 2005 2,924 GB Have a look in the FAQs, or do a search on this forum. Variations of this question have been answered many times. Upvote 0 Downvote
Have a look in the FAQs, or do a search on this forum. Variations of this question have been answered many times.
May 27, 2008 Thread starter #3 equus2 Programmer Mar 5, 2008 36 US thanks i found some clues on google using row_number functionality Upvote 0 Downvote
May 27, 2008 #4 r937 Technical User Jun 30, 2002 8,847 CA download the free online sample chapter (PDF) of the fabulous O'Reilly book SQL Hacks here -- http://www.oreilly.com/catalog/sqlhks/chapter/ch04.pdf scroll down to hack #23, Second Tuesday of the Month apply the same type of logic to get your 3rd friday r937.com | rudy.ca Upvote 0 Downvote
download the free online sample chapter (PDF) of the fabulous O'Reilly book SQL Hacks here -- http://www.oreilly.com/catalog/sqlhks/chapter/ch04.pdf scroll down to hack #23, Second Tuesday of the Month apply the same type of logic to get your 3rd friday r937.com | rudy.ca
May 28, 2008 #5 ESquared Programmer Dec 23, 2003 6,129 US HEY this was supposed to be an actual puzzle! Upvote 0 Downvote