Viewing 15 posts - 31 through 45 (of 747 total)
February 15, 2017 at 7:45 pm
February 15, 2017 at 12:56 pm
Thanks all, I upgraded it and installed the sample database problem free.
February 14, 2017 at 6:21 pm
It turns out my local SQL is NOT 2012, but actually 2008R2!
select @@VERSION
Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64)
Jun 17 2011...
February 14, 2017 at 2:45 pm
TheSQLGuru (1/6/2017)
2) Can you please capture the actual query plan and post that up?
3)...
January 9, 2017 at 9:07 am
drew.allen (1/9/2017)
January 9, 2017 at 9:07 am
Chris Harshman (1/9/2017)
halifaxdal (1/9/2017)
1. I generated...
January 9, 2017 at 9:06 am
After I created two interim tables in advance, the final query actually finished in only 8 seconds! So the lesson I learn here is for cases that involve big table,...
January 9, 2017 at 8:46 am
I think I have the answer here now:
It turns out the [WBS Element] and vendor is NOT a 1:1 relationship, it is 1:n, there are cases one [WBS Element]...
January 9, 2017 at 8:37 am
I did some extraction before hand, and the new query is much faster now, however, still the result gets exploded. Here is what I did:
1. I generated two perm tables...
January 9, 2017 at 8:14 am
TheSQLGuru (1/6/2017)
1) Spooling back 3M+ rows to a calling program (SSMS I suppose?) is going to be SLOW.
This is expected
2) Can you please capture the actual query plan and post...
January 9, 2017 at 7:40 am
Thank you for your reply, I do not have access to the server in weekend but I will post the needed plan here on Monday.
January 7, 2017 at 8:30 am
ChrisM@Work (1/5/2017)
halifaxdal (1/5/2017)
You got it, but can you elaborate this? wouldn't that mean potentially every query must do the rowcount reset?Thanks.
https://msdn.microsoft.com/en-us/library/ms188774.aspx
and
https://msdn.microsoft.com/en-us/library/ms190356.aspx
It only has to be reset once it's been set....
January 5, 2017 at 10:02 am
You got it, but can you elaborate this? wouldn't that mean potentially every query must do the rowcount reset?
Thanks.
January 5, 2017 at 9:53 am
I did run them at the same time, it's just the count(1) takes longer and the select * takes less than 1 second.
January 5, 2017 at 9:40 am
Viewing 15 posts - 31 through 45 (of 747 total)