Viewing 15 posts - 901 through 915 (of 2,863 total)
Are the table names consistent? What I mean is are they always the same 8 hex characters? If so, then you could use a tool like SQL Search (RedGate free...
August 27, 2021 at 3:57 pm
I think this is possible but messy and mildly risky. Mildly risky as you would need to use dynamic SQL and there is a chance you could lock out an...
August 27, 2021 at 2:17 pm
Going back to the IIF approach, could you not do something like:
=IIf(Parameter!ProviderID.Value = 1, 'A,B',
IIf(Parameter!ProviderID.Value = 2, 'B,C',
IIf(Parameter!ProviderID.Value =...
August 25, 2021 at 3:30 pm
That is just telling you that you need more memory to store query plans OR you need fewer unique query plans running against the instance. With the most of your...
August 24, 2021 at 4:36 pm
I just wanted to second Ant-Green's statement about buying a tool. SQL Monitoring tools are a must for any SQL instance you care about.
And his statement about checking the logs...
August 24, 2021 at 4:24 pm
First, I'd recommend posting some DDL so we can consume your data and do some tests. Nothing worse than untested code, right?
Looking at the image, a potential solution would be...
August 24, 2021 at 4:12 pm
Yes, my approach will filter the whole data set. If you need it filtered in just one place, then my suggestion won't help you and will actually make things worse.
August 24, 2021 at 3:44 pm
I like the approach that everyone else is offering, but thought I'd chime in to describe mine in a bit more detail.
My suggestion was to change the data source from...
August 24, 2021 at 3:34 pm
Specifically this section which indicates what triggers an auto-update on the statistics:
- There was a data change on an empty table.
- The number of rows in the table was...
August 23, 2021 at 7:59 pm
I think that is the joys of the SQL engine. USUALLY logical reads are slow operations and having more of them will result in longer elapsed time. That is likely...
August 23, 2021 at 6:16 pm
As a thought on this, as you can't push this to the stored procedure, what about if you push it to the TSQL?
What I mean is in the SSRS package,...
August 23, 2021 at 4:44 pm
Another thing to check is linked servers. If a linked server connection connects to that instance as a user who has permission to drop and create objects AND you have...
August 23, 2021 at 4:28 pm
Experts correct me if I am wrong, but what I am seeing is that you have no filter predicates on the non-clustered index scan. The filter is on the clustered...
August 23, 2021 at 4:23 pm
I think the first step is finding the right tool for the job. For doing analytics, I would recommend an analytics reporting tool (SAS Visual Analytics, PowerBI, Excel, Tableau, etc). ...
August 20, 2021 at 10:12 pm
As a thought - what about instead of trying to build the data set up to contain all possible combinations of summing up the data, you do it in the...
August 20, 2021 at 7:58 pm
Viewing 15 posts - 901 through 915 (of 2,863 total)