Viewing 15 posts - 3,391 through 3,405 (of 6,036 total)
David McFarland (10/22/2007)I'll make a change that will blow your covering index away, and while my change will take 10 seconds, your's will require a changed index, changed code, and...
_____________
Code for TallyGenerator
October 22, 2007 at 5:23 pm
David McFarland (10/22/2007)The two queries in the second test don't return the same results, as SQL Server happily keeps all of the customer rows together in a group when using...
_____________
Code for TallyGenerator
October 22, 2007 at 4:26 pm
And for clean test you need to try to reverse order of tests.
With no index in place Server supposes to create statistics on those columns during 1st query and use...
_____________
Code for TallyGenerator
October 22, 2007 at 4:18 pm
Is password missing in you bcp call or you just removed it befor posting?
bcp message shows you forgot to pass sa password to the Server.
_____________
Code for TallyGenerator
October 22, 2007 at 4:05 pm
October 22, 2007 at 3:54 pm
David,
Another false statement from you:
[Code]
--===== Add an index to the CustomerID/TotalDue columns just for grins
--===== Removed the TotalDue from the index, since it quite frankly wouldn't be there in...
_____________
Code for TallyGenerator
October 22, 2007 at 3:52 pm
Did you include LOG file in those 700 MB?
_____________
Code for TallyGenerator
October 22, 2007 at 3:32 pm
It's always good to read whole related topics in BOL and try to understand WHY.
Truncating a table is faster than deleting the records in a table because it does uses...
_____________
Code for TallyGenerator
October 22, 2007 at 2:56 pm
Matt,
you did not answer the question:
How do you think OVER gets data?
It's not about optimisation of queries.
It's about number of queries you execute.
"OVER" option executes 2 subqueries, "INNER" option just...
_____________
Code for TallyGenerator
October 22, 2007 at 1:54 pm
Matt, do you believe in miracles?
How do you think OVER gets data?
Can you post execution plans for both options of the query?
May be this will help you believe less in...
_____________
Code for TallyGenerator
October 22, 2007 at 1:17 pm
Of course I messed with whole number divisions and remainders.
Here is correct version (I believe ;))
[Code]
SELECT CreateDate + @NotificationDays/5*7 + @NotificationDays%5 +
...
_____________
Code for TallyGenerator
October 22, 2007 at 1:11 pm
Greg Snidow (10/21/2007)
_____________
Code for TallyGenerator
October 22, 2007 at 4:08 am
Joe Clifford (10/21/2007)
_____________
Code for TallyGenerator
October 22, 2007 at 2:48 am
Jeff Moden (10/22/2007)
_____________
Code for TallyGenerator
October 22, 2007 at 1:43 am
Jeff Moden (10/21/2007)
_____________
Code for TallyGenerator
October 22, 2007 at 12:55 am
Viewing 15 posts - 3,391 through 3,405 (of 6,036 total)