Viewing 11 posts - 1 through 11 (of 11 total)
Zzartin sent me to the right direction. I had duplicate values so I had to group it anyway.
i rewrote the query :
select acctno,...
June 14, 2017 at 7:44 am
Check this and see what comes...
June 13, 2017 at 1:42 pm
June 13, 2017 at 6:38 am
ok, I checked with the developer, and while the logic sounded weird to me, it seems is doing what it's intended for.
My problem is that I am having...
June 12, 2017 at 11:51 am
Appreciate the input.
I may still suggest noon's DIFFs, to reduce the amount of Tlogs needed during a backup. Tlogs are currently taken every 5 min.
June 12, 2017 at 9:22 am
Thanks Gail
So let me see if I understand. On the 1st case, the UPDATE will always run. And if the dates are null for both, it will UPDATE...
June 9, 2017 at 11:27 am
June 9, 2017 at 11:03 am
Right now, 33, 40 and 45 are hard coded. I already created a simple table with them. So I want to get rid of the IN statement on the WHEN,...
June 2, 2017 at 7:19 am
I am using SQL2008, but I will take a look on the actual execution plan. Thank you!
May 31, 2017 at 7:46 am
May 31, 2017 at 7:31 am
Viewing 11 posts - 1 through 11 (of 11 total)