Viewing 15 posts - 1 through 15 (of 3,486 total)
Glad I've already had my first cuppa this morning. Nice one...
December 14, 2023 at 8:39 am
Has the table in question been partitioned (or the clustered index)?
If so, then swap out each partition to it's staging table, run the deletes/inserts, then swap back in.
If not, learn...
October 27, 2023 at 9:59 am
I would love to. However, that would basically involve a total redesign of the entire database and it's application. Personally, i would recommend scrapping that platform and starting over... the...
March 15, 2022 at 7:34 am
I finally figured how to resolve the issue - convert the XML fields to NVARCHAR(MAX), Replace the _x0020_ with an underscore, convert back to XML, run the shred using nodes(),...
March 15, 2022 at 6:38 am
Here are a few records drawn from the audit trail table - i needed to mask some columns, due to sensitivity, but the detail is still usable...
March 14, 2022 at 2:13 pm
Why would it read twice?
the CTE is something like a single use virtual view.
Given that the final select uses a UNION ALL, it will SELECT from the CTE, then...
March 16, 2021 at 12:15 pm
I have found many who firmly believe a CTE actually creates a volatile table in tempdb and then reads from it.
i cannot figure out where they got that idea from.
March 16, 2021 at 10:24 am
That is cool; nice question, thanks Steve
March 15, 2021 at 5:30 am
This works really well, too.
Nice question, thanks Steve
November 23, 2020 at 6:04 am
Nice, easy one today, thanks Steve
November 5, 2020 at 6:19 am
Nice question, thanks Steve.
Been there, done that - best to run that over a weekend when no-one is around...
November 2, 2020 at 10:00 am
Nice question thanks Steve.
i particularly enjoyed the red herrings...
October 26, 2020 at 3:00 pm
Viewing 15 posts - 1 through 15 (of 3,486 total)