Viewing 15 posts - 3,406 through 3,420 (of 6,036 total)
Jeff Moden (10/21/2007)
October 21, 2007 at 1:56 pm
There was a feeling that something is not right.
Now we have 2 point something times difference.
About the value I expected.
But it still should be under 2 times because there is...
October 21, 2007 at 1:42 pm
Jeff Moden (10/21/2007)
October 21, 2007 at 1:13 pm
Lowell (10/21/2007)
if it's not obvious, management studio, which is using the SQL Native Client was twice as fast as using SQLOLEDB from QA.
Do you know that SQLOLEDB driver contains cursor...
October 21, 2007 at 1:01 pm
David McFarland (10/20/2007)
I'll happily run it for you once marting is done, but I'd expect them to be in the same ballpark for that simple of a query.
Logic (you would...
October 21, 2007 at 4:34 am
So many words instead of just sayng "No".
David, I ccan tell you a secret.
Math is not about numbers at all.
Math uses numbers as an abstraction in an attempt to explain...
October 21, 2007 at 4:21 am
Then Jeff's script should work for you.
You just misled him a little bit, so code should be simplified:
SELECT * FROM #TestTable
WHERE (@dummy is null OR Title = @dummy)
October 20, 2007 at 11:04 pm
Jeff Moden (10/19/2007)
I've not had to "future-cast" in this manner before but every solution I've seen...
October 20, 2007 at 10:58 pm
[Code]
SELECT
H.CustomerID
,H.SalesOrderID
,H.TotalDue
,H.PercentageOfTotal = H.TotalDue / T.Sum_TotalDue * 100.0
,H.DifferenceFromAverage = H.TotalDue - T.Avg_TotalDue
FROM Sales.SalesOrderHeader H
INNER JOIN (select CustomerID, Sum(TotalDue) Sum_TotalDue, Avg(TotalDue) Avg_TotalDue
...
October 20, 2007 at 6:24 pm
Matt Miller (10/19/2007)
October 19, 2007 at 4:26 pm
Matt Miller (10/19/2007)
Corollary: No matter how good the box, remember - you're IN a box. There are things outside of the box.
Trick is that outside the box is another...
October 19, 2007 at 4:15 pm
David, for some reason I did not have any doubts about you and some other folks.
😉
SQL 2k5 made for programming tools users having no math background, just like you.
As I...
October 19, 2007 at 4:11 pm
goodguy (10/19/2007)
October 19, 2007 at 8:18 am
Matt, do you think with Jeff's function fnDeleteNumbers (@String VARCHAR(8000)) from the post above code would be any longer?
And Jeff already committed performance test.
Result was not in favour of the...
October 19, 2007 at 7:14 am
Greg Snidow (10/19/2007)
October 19, 2007 at 6:58 am
Viewing 15 posts - 3,406 through 3,420 (of 6,036 total)