Viewing 15 posts - 61 through 75 (of 465 total)
Yes, in theory could be less efficient in some cases than a LOOP join. But it's still reasonable performance. You'll never totally drop off a performance cliff going from...
April 13, 2021 at 7:52 pm
Looking at the two plans, it seems that the TOP 1 version tries to avoid the sort. (With disastrous results.) Apparently it can read the correct sequence from...
April 13, 2021 at 7:49 pm
Well, I was thinking of replacing the entire JOIN clause with WHERE P.EvidenceLetter In('J') [or In('J','K','L')] and so on. I tried that in my initial tests, and it also made...
April 13, 2021 at 7:06 pm
BTW, the TVF does not always have only one record. Usually one, but it is possible to have almost 50. However, that would be an extreme case, and probably an...
April 13, 2021 at 4:11 pm
It also doesn't matter where I put the HASH directive. Both of these work fine, and yield what looks to be the same execution plan:
INNER JOIN RO.fntStringsToTable...
April 13, 2021 at 3:54 pm
Yep, that did it. Inner HASH Join, instead of Inner Join, and the query runs normally. The execution plan is still slightly more convoluted than without the Top clause, but...
April 13, 2021 at 3:34 pm
GOT IT!!! Finally - this site had all the necessary details in one place.
https://www.mssqltips.com/sqlservertip/2143/creating-a-sql-server-proxy-account-to-run-xpcmdshell/
February 10, 2021 at 2:30 pm
If the app gets changes, then an upload is immediately correct. You said that a job doesn't work because it could take a minute to show changes, but those...
February 5, 2021 at 7:49 pm
If the app loads this, why do you need the dir command? Don't you know where attachments are stored? If you use Filetable, you'll have a known share (\\server\share\path\file)....
February 5, 2021 at 5:53 pm
February 5, 2021 at 1:26 pm
I guess I am not following - you still haven't explained why you need to EXECUTE AS. What is it that requires the procedure to be executed...
February 5, 2021 at 1:10 pm
Two things.
February 4, 2021 at 6:03 pm
I guess I am not following - you still haven't explained why you need to EXECUTE AS. What is it that requires the procedure to be executed in a...
February 4, 2021 at 5:56 pm
So you seem to have 2 problems...
Not really - I have ONE problem: I don't know what I'm doing.
You stated that compiling the procedure normally - works fine. ...
February 4, 2021 at 4:37 pm
So you seem to have 2 problems...
Not really - I have ONE problem: I don't know what I'm doing.
You stated that compiling the procedure normally - works fine. But...
February 4, 2021 at 4:33 pm
Viewing 15 posts - 61 through 75 (of 465 total)