Viewing 15 posts - 1,261 through 1,275 (of 8,731 total)
peter larsen-490879 - Wednesday, May 17, 2017 2:18 PMHi again,this is the ouput i am trying to achive.
You gave the output, but...
May 18, 2017 at 7:16 am
May 17, 2017 at 10:14 am
Apparently, I left the code window open from when Jeff deleted the thread and I couldn't post anymore. It changes how you create the the ranges, so I'll post it...
May 17, 2017 at 9:13 am
You should pivot your values in SSRS. That will be more efficient.
Here's how you do it: https://docs.microsoft.com/en-us/sql/reporting-services/report-design/create-a-matrix-report-builder-and-ssrs
May 17, 2017 at 9:03 am
Why are you using CompanyName in your column list and dataname to relate between the tables?
Here's an example on how to remove the loop and query in an...
May 17, 2017 at 8:55 am
Without even changing the parameter type.
CREATE TABLE #SampleDates(
SomeDate smalldatetime
)
CREATE CLUSTERED INDEX CISampleDates ON #SampleDates(SomeDate)
INSERT INTO #SampleDates
SELECT DATEADD( hh, (ABS(...
May 17, 2017 at 7:50 am
May 17, 2017 at 7:27 am
Depending on the length and available storage, this could be an option.
https://sqlperformance.com/2017/02/sql-indexes/seek-leading-wildcard-sql-server
May 16, 2017 at 1:55 pm
Completly agree that the data definition is the root of my problems.
I've tested...
May 16, 2017 at 1:51 pm
May 16, 2017 at 1:29 pm
Somehow, the explanations defending the sum of an empty set as null don't make as much sense as the arithmetic explanation from Tom.
SUM is essentially a mathematical function, the...
May 16, 2017 at 12:15 pm
May 16, 2017 at 10:55 am
Viewing 15 posts - 1,261 through 1,275 (of 8,731 total)