Viewing 15 posts - 2,431 through 2,445 (of 2,862 total)
If performance is a concern, you should not set values cell by cell. Create an array and assign it to a range.
You may wish to check http://support.microsoft.com/kb/302084.
November 22, 2011 at 1:29 pm
Generally, it will. However, if you have 8 cores with 48 GB of memory and databases are on several spindles, you will not see much degradation.
November 22, 2011 at 10:18 am
Just squeeze them in a vise. It si clean and gets the job done.
Most people do not realize that there are hard drives in copiers, and that your average...
November 22, 2011 at 10:05 am
Tom Brown (11/22/2011)
Endoctrinate
What is that? Is it a typo?
November 22, 2011 at 9:17 am
crookj (11/22/2011)
Daniel Bowlin (11/22/2011)
EndDefensive End
Tight end
November 22, 2011 at 8:52 am
I don't know how these things work in the UK, but here in NA the favorite tack is to volunteer time to a non-profit org. That gets the first...
November 21, 2011 at 12:52 pm
GSquared (11/21/2011)
Revenant (11/21/2011)
DECLARE @temp TABLE ( name VARCHAR(20), total INT );
INSERT INTO @temp
SELECT Name, SUM(Consumption)
FROM tablename
GROUP BY Name;
DECLARE @maxValue INT = ( SELECT MAX(total) FROM @temp...
November 21, 2011 at 12:46 pm
DECLARE @temp TABLE ( name VARCHAR(20), total INT );
INSERT INTO @temp
SELECT Name, SUM(Consumption)
FROM tablename
GROUP BY Name;
DECLARE @maxValue INT = ( SELECT MAX(total) FROM @temp );
SELECT name,...
November 21, 2011 at 12:22 pm
bomborde (11/21/2011)
. . . I must do this without a select inside a from.. . .
Can anyone do this without a 'view' or 'join' or 'order by'? . . .
Back...
November 21, 2011 at 11:56 am
Ninja's_RGR'us (11/21/2011)
bomborde (11/21/2011)
ScottPletcher (11/21/2011)
This does not work if two or more people have the same total.
To paraphrase Clinton, it depends on the definition of "work". If two people have...
November 21, 2011 at 11:00 am
ScottPletcher (11/21/2011)
Don't see how you can do this w/o an ORDER BY, but it's trivial with one:
SELECT TOP 1 Name, SUM(Consumption) AS Total_Consumption
FROM tablename
GROUP BY Name
ORDER BY SUM(Consumption) DESC
This does...
November 21, 2011 at 10:25 am
Viewing 15 posts - 2,431 through 2,445 (of 2,862 total)