Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

TSQL Challenge 79 - Finding the Islands

By Jacob Sebastian,

             TSQL Challenge 79 - Finding the Islands

The challenge idea is taken from a problem discussed in the MSDN TSQL forum. The challenge is to find the Islands(gaps) in sequential dates. You need to write a query to identify continuous intervals from the start date and end date.

http://beyondrelational.com/puzzles/challenges/113/finding-the-islands.aspx

Total article views: 683 | Views in the last 30 days: 13
 
Related Articles
ARTICLE

TSQL Challenge 64 - A Payroll calculation Challenge

This challenge invites you to solve a payroll challenge which requires special calculation of holida...

ARTICLE

TSQL Challenge 63 - A TSQL Sudoku

This challenge invites you to play Sudoku in TSQL

BLOG

The Shredder Challenge

The Shredder Challenge was a contest sponsored by DARPA to find ways of putting shredded documents b...

BLOG

April Fools Challenge

I know it's not April 1st yet, but I wanted to throw out a couple comments and a challenge well...

Tags
 
Contribute

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones