Viewing 15 posts - 481 through 495 (of 4,085 total)
The query that you got from Jingyang Li over at the MSDN SQL Server forum, can be easily modified to get the correct result by simply adding a GROUP...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
Your sample data has times to the nearest minute. Your expected results has times to the nearest second. There is no way that we can derive data with greater precision...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
The problem with trying to manage 1,2,3 as well as a,b,c is what happens when you hit 1,a,1? One solution could be to just sign each letter a numeric...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
This is a fairly standard Gaps and Islands problem.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
Here is a query that matches the results for your query. NOTE: I changed your permanent table to a temporary table. WHY DO PEOPLE INSIST ON PROVIDING SAMPLE DATA IN...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
You didn't provide sample data. Also, what do you want to do with people who have two or more sets that overlap and is it different if the overlap is...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
These are the only options for pinned status that I can find.
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
Viewing 15 posts - 481 through 495 (of 4,085 total)