Viewing 15 posts - 1,636 through 1,650 (of 4,085 total)
This is a variation on packing intervals. You can read more about that at New Solution to the Packing Intervals Problem. You just need to use the desired tolerance...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 28, 2017 at 2:08 pm
Spam reported.
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 28, 2017 at 1:59 pm
RonMexico - Monday, August 28, 2017 11:22 AMI'm using a linked server. That appears to be creating the problem.
The error specifically states...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 28, 2017 at 11:46 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 28, 2017 at 9:40 am
Yes, the problem is here.
AND ((M.IDHuis = @IDHUIS) or (@IDHUIS = NULL))
AND ((H.IDAfd = @IDAFD) or (@IDAFD = NULL))
NULL...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 25, 2017 at 2:13 pm
I believe that the following article addresses this topic, or it should at least get you started in the right direction. Solving FIFO Queues Using Windowed Functions J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 25, 2017 at 8:16 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 24, 2017 at 11:42 am
You've posted this in a T-SQL forum, but this is not T-SQL. I'm guessing SSRS.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 22, 2017 at 2:40 pm
I would use QUOTENAME instead, because it will handle input data that contains apostrophe's.Select 'Update mick_settings Set setting_value = ' + QUOTENAME(SETTING_VALUE, '''') + ' Where SETTING_NAME...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 22, 2017 at 12:16 pm
You should be aware that the regex syntax changed dramatically from SQL 2014 to SQL 2016.
Also, keyboard shortcuts vary depending on the keyboard mapping scheme. Occasionally, my...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 14, 2017 at 3:27 pm
Pictures of your data do not help. Please post scripts of your sample data as outlined in the first link in my signature.
You're sample data does not include...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 14, 2017 at 3:10 pm
Reported as spam.
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 14, 2017 at 2:37 pm
Sample data and expected results, please. You can find a link in my signature that explains how.
The best way to do this is with a computed column, but...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 14, 2017 at 1:20 pm
"Are all cities covered" is a much simpler question to answer than giving you all possible combinations of values. I did write a recursive CTE to answer this question, but...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 11, 2017 at 7:09 am
t2 36824 - Friday, August 11, 2017 6:45 AMHow's this:
That's still a picture, so it still doesn't really help.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 11, 2017 at 7:03 am
Viewing 15 posts - 1,636 through 1,650 (of 4,085 total)