Viewing 15 posts - 121 through 135 (of 154 total)
on the original query the left outer join was being used
on the 3 queries the OP did trying to solve the issue the left outer join was left as...
April 12, 2023 at 11:29 pm
Why is this left join used in your "WHERE NOT EXISTS " parts?
...
April 12, 2023 at 8:56 pm
April 11, 2023 at 7:20 pm
Well you can be sure it gets created by doing the following
DROP INDEX [dbo].[VIXNearTermExpiration]
Then change your code to do it in two steps rather than one as...
April 11, 2023 at 1:07 am
Not sure if this would help but it might be worth a try depending on the amount of data this would generate instead of doing a WHERE NOT EXISTS --...
April 11, 2023 at 12:50 am
Instead of doing it in one massive query, have you considered creating a Temp Table and collecting what you wish to aggregate and then just aggregate what is in that...
April 10, 2023 at 2:16 pm
Yeah I am sure there could be a few ways to alter that SP to a bit more friendly I mean with the OR clause being not an OR clause...
April 4, 2023 at 9:11 pm
Okay it appears Jeff Moden figured out where the Datetime value was coming from.
Still perhaps this article will help some as you move forward with your project.
April 4, 2023 at 3:57 pm
If you can share the Stored Procedure in its entirety I can comb through it and see if I notice any issues and/or ways to streamline what you have. If...
April 4, 2023 at 2:48 pm
In Steve Collins solution the final OR negates all the ANDs which I do not think is what the OP wanted so just in case here is an alternate solution.
Further...
April 4, 2023 at 2:32 pm
Redoing noticed something else -- would just delete but do not know how
April 4, 2023 at 1:52 pm
Ah gotcha Jonathan AC Roberts missed seeing that bit of incongruity
ScottPletcher how is yours different than what Jonathan had already put forth -- they look identical am I missing something?
April 3, 2023 at 6:12 pm
Okay I am not understanding your comment "I have a feeling it is taking it literally as a string" -- how else should it take it? I mean you are...
April 3, 2023 at 5:21 pm
I cannot think of any way to facilitate picking apart a SP and running its dynamic parts separately without manually doing something. However, to cover some of the testing I...
April 1, 2023 at 5:39 pm
I concur with the others' assessements and emphasize that my first go to would be to compare the servers as you have stated the query is the same on DEV,...
April 1, 2023 at 5:22 pm
Viewing 15 posts - 121 through 135 (of 154 total)