Viewing 8 posts - 1 through 9 (of 9 total)
Cheers for the tip. It's trying to execute @ColNames as the literal string whereas I would like to feed the results of @ColNames. Maybe using something like an output ?
January 22, 2019 at 9:16 am
Thanks. I tried with the additional CTE but it didn't reduce execution time.
January 22, 2019 at 8:27 am
@micheal-2, the .exe is part of the historian meant to handle large amounts of time series data. The sproc is here down the line for ingestion in our...
January 21, 2019 at 12:47 pm
Thanks guys for the feedback as I understand the question was quite vague. Having previously worked as an analyst, most of the the work I did was building the queries...
December 4, 2017 at 1:28 am
Thanks all. Worked perfectly. I used Scott's inline example - matched what i needed plus extra bonus explanation.
April 10, 2017 at 1:24 pm
Brilliant. Thanks a ton. Perhaps I've oversimplified my example which makes the data model unclear also I think the data hasn't been properly loaded which leaves NULL's in place where...
March 3, 2017 at 5:45 am
The way my data is structured one group only has one name associated to it, spread across multiple guid's. So group 1 could have 18 guid's which should all have...
March 3, 2017 at 4:19 am
Looking at group1, it has the guid1 and guid3 associated it. If I look at the GuidTable I can check that guid1 has Alex but guid3 has NULL. The logic...
March 3, 2017 at 4:03 am
Viewing 8 posts - 1 through 9 (of 9 total)