Viewing 15 posts - 211 through 225 (of 6,036 total)
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)...
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...
December 18, 2020 at 2:35 am
Check your file in a HEX viewer.
It starts with pretty interesting sequence.
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. ...
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...
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...
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.
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...
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...
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...
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...
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...
December 8, 2020 at 3:08 am
There are some questions I'd like you to answer in order for me to help you.
...
December 8, 2020 at 3:05 am
Why do you think you need rebuilding the indexes?
December 8, 2020 at 1:58 am
How many records returned if you remove TOP 1?
You ask to return the only one record with the smallest Lin.id from the entire record set.
To find that record the engine...
December 7, 2020 at 8:26 pm
Viewing 15 posts - 211 through 225 (of 6,036 total)