Thank this author by sharing:
By Jacob Sebastian,
TSQL Challenge 53 - Finding empty and non-empty intervals among many start-end intervals
A SQL Server instance is set up to log the session start time and end time into a table. Given this table, your job is to find all time intervals in which no one is logged in. For the intervals separated by these empty intervals show the maximum number of simultaneous users.
Creating time intervals on overlapping events
sql time intervals problem
Who is logged on in 15 minute intervals
Comments posted to this topic are about the item [B]TSQL Challenge 53 - Finding empty and non-empty...
what should be the commit interval for loading bulk data from a flat file
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.