Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
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: 741 | Views in the last 30 days: 3
 
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