Viewing 15 posts - 1,576 through 1,590 (of 4,085 total)
The problem with this approach is that it requires two scans of the base table. Here is an approach that only requires one scan of the table.
[code...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
October 19, 2017 at 8:48 am
It's really hard to say without something even remotely concrete to reference, but I think the first thing...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
October 17, 2017 at 12:10 pm
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
October 12, 2017 at 8:07 am
You didn't specify what start and end dates you used. If you don't supply dates, then the parameters will default to NULL and no records will qualify.
You should...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
October 10, 2017 at 10:07 am
rosarozina - Monday, October 9, 2017 10:30 AMThere are actually rows within that date range
If there were, then you would...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
October 9, 2017 at 11:47 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
October 9, 2017 at 9:31 am
Spam reported.
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
October 5, 2017 at 2:34 pm
Reported as spam.
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
October 5, 2017 at 2:29 pm
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
October 4, 2017 at 1:34 pm
Check out the following articles: J. Drew Allen
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Business Intelligence Analyst
Philadelphia, PA
October 4, 2017 at 11:59 am
Okay. I did a quick test, and my intuition bore out:
Here are the results:Method duration
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
October 3, 2017 at 1:31 pm
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
October 3, 2017 at 1:19 pm
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
October 3, 2017 at 12:53 pm
Look at the following article which talks about using Windowed Functions to solve FIFO queues. FIFO Queues
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
October 3, 2017 at 12:47 pm
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
September 27, 2017 at 1:53 pm
Viewing 15 posts - 1,576 through 1,590 (of 4,085 total)