Viewing 15 posts - 31,216 through 31,230 (of 59,101 total)
What do you want to make "dynamic" in the script?
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2012 at 6:03 pm
Indexes don't have to be used to be valuable. Having, for example, a unique index where that index is never used might tempt you to drop it. Sometimes...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2012 at 5:58 pm
Admingod (2/10/2012)
Does reducing database size gives any better performance? If yes please explain?Thanks
Along with all the "It Depends" explanations, I'll just come right out and say, "NO". Performance is...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2012 at 5:39 pm
wurkenmomz (2/10/2012)
Also, he states that using the Distinct will not get the recommended results and can be very unreliable, in these cases. He does this for a living.
Perfect. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2012 at 5:36 pm
Solomon Rutzky (2/9/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2012 at 4:35 pm
Eugene Elutin (2/9/2012)
J Livingston SQL (2/9/2012)
I believe the COUNT(*) needs to be COUNT(DISTINCT VendorName) to allow a single vendor to have more than one presence in the city.
absolutely agree...but should...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 10, 2012 at 4:07 pm
rmechaber (2/9/2012)
Jeff Moden (2/8/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2012 at 7:38 am
Solomon Rutzky (2/9/2012)
xp_cmdshell is a wide-open hole for anything.
First, thank you very much for the explanation. Your explanation is more along the lines of what I understood.
On the...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2012 at 7:35 am
Eugene and wurkenmomz ,
The <> in both of your code creates a "double Triangular Join". If you use that code (making the appropriate substitutions for the different table)...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2012 at 7:23 am
J Livingston SQL (2/8/2012)
...no probs with that, but you will learn a lot faster if you at least provide...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2012 at 7:15 am
fahey.jonathan (2/8/2012)
Jeff Moden (2/7/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 8, 2012 at 11:29 pm
cdh-727733 (2/8/2012)
Jeff Moden (2/7/2012)
fahey.jonathan (2/7/2012)
cdh-727733 (2/7/2012)
I can't do that unfortunately as this is to be driven from user searches which I can't predict.
What I am suggesting is that you create...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 8, 2012 at 11:20 pm
xRafo (2/8/2012)
Thanks, i hope this code will get best perfomance than the another (with while statement)thanks.
It'll blow the doors off the While Loop.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 8, 2012 at 11:11 pm
Tests for #5 are absolutely spot on for the fix. Great job! That makes life a whole lot easier on this side of the house! I can...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 8, 2012 at 11:09 pm
Elliott Whitlow (2/7/2012)
Jeff Moden (4/29/2011)
Elliott Whitlow (4/29/2011)
http://nclsqlclrfile.codeplex.com/%5B/url%5D
Let me know what you think,...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 8, 2012 at 10:54 pm
Viewing 15 posts - 31,216 through 31,230 (of 59,101 total)