SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Get next 1st thursday

By Harsha Majety,

Function to get the next 1st thursday from the given day. Can be easily change to give the next1st any weekday.

If 1st thursday of the current month is passed , it gives the next month's 1st thursday.

Total article views: 993 | Views in the last 30 days: 1
Related Articles

NTSSUG Meeting on Thursday: Brian Knight

The North Texas SQL Server User Group (NTSSUG) monthly meeting will be held this Thursday, August 20...


Kilt Day! PASS Summit 2016, Thursday

Thursday at the PASS Summit is Kilt Day. This means you should wear a kilt. Whether you do it in su...


Throwback Thursday #1: SQL Inspire

What Is Throwback Thursday? One of my hobbies is being a turntablist. In high school I took a job...


Throwback Thursday #3: SQL Server & Disks

I hope everyone is having a good time gearing up for the holidays.   Throwback Thursday is a bi-week...


Giving a Security Webinar on Thursday

On Thursday, February 23rd at 3 PM EST I’m giving a webinar on designing a successful database secur...