Viewing 15 posts - 211 through 225 (of 6,036 total)
You must be using some dynamic SQL for the process, and that dynamic script is built incorrectly.
This is the part you need to fix.
_____________
Code for TallyGenerator
December 19, 2020 at 1:18 am
Find the records to delete in an aggregated subquery and then join it back to the table:
SELECT D.*
--DELETE D
FROM #partsDetails D
INNER JOIN (
SELECT MAX(partsDetailsId)...
_____________
Code for TallyGenerator
December 19, 2020 at 1:13 am
Anyone see the email from PASS?
We are saddened to tell you that, due to the impact of COVID-19, PASS is ceasing all regular operations, effective January 15, 2021.
Can you...
_____________
Code for TallyGenerator
December 18, 2020 at 2:35 am
Check your file in a HEX viewer.
It starts with pretty interesting sequence.
_____________
Code for TallyGenerator
December 17, 2020 at 11:18 am
@Sergiy Thank you so much for your help on updating the query to make creating the view possible. That small change to the where exists made all the difference. ...
_____________
Code for TallyGenerator
December 17, 2020 at 9:01 am
In case someone missed it. There seems to be a big problem with Solarwinds Orion products, which some of you might use.
its not a problem with Solawinds Orion...
_____________
Code for TallyGenerator
December 17, 2020 at 12:08 am
Thing is - manages are appreciated for being effective on resolving critical situations. Preventing a crisis - not so much.
if nothing happens - your KPI stays low. Nothing to show...
_____________
Code for TallyGenerator
December 16, 2020 at 7:28 am
"Don't fix if it ain't broken" - this is used far too often.
the bridge has to collapse for them to decide its time to replace those rusted bolts.
_____________
Code for TallyGenerator
December 15, 2020 at 10:43 pm
Queries like this against the data structured this way will always be prone to bad plans.
Some times statistics suggest optimizer to choose key lookup, some times it will be index...
_____________
Code for TallyGenerator
December 11, 2020 at 7:08 am
Tried creating the view. It was non performant .
I had a closer look at the query and I'm not surprised it's not performant.
First - what do you need the...
_____________
Code for TallyGenerator
December 10, 2020 at 12:13 am
Are you sure you need that table at all?
Why wouldn't you try to create a view base on the same query you use to populate the table and then query...
_____________
Code for TallyGenerator
December 9, 2020 at 4:32 pm
Just add your logic to a character column using 0 and 1 😉
😎
i can add my logic to char, date time and bit columns, all at the same time:
ORDER...
_____________
Code for TallyGenerator
December 8, 2020 at 8:22 pm
I may not have had to rebuild them, but doing a full sample on the statistics definitely fixed the slowness.
Should I have to do a full sample on the...
_____________
Code for TallyGenerator
December 8, 2020 at 3:08 am
There are some questions I'd like you to answer in order for me to help you.
...
_____________
Code for TallyGenerator
December 8, 2020 at 3:05 am
Why do you think you need rebuilding the indexes?
_____________
Code for TallyGenerator
December 8, 2020 at 1:58 am
Viewing 15 posts - 211 through 225 (of 6,036 total)