Viewing 15 posts - 301 through 315 (of 1,132 total)
In reply to Jeff Moden's question: Under the "union all" solution, there are no "parameter", just SQL Statements that are sent to the server in the normal manner as a...
August 20, 2008 at 9:54 am
As this is a RANKING problem, any solution will require that the rows be ordered and some alternative are:
1. Code your own ranking but this is not a good...
August 20, 2008 at 9:49 am
That is because tables do not have fill factors, only indexes and each index can have a different fill factor.
If you want to rebuild all indexes on a table with...
August 20, 2008 at 9:34 am
Jeff, regarding the benchmark method you are using, found a curious situation.
If this SQL is run, statistics time reports duration and cpu of of zero:
set statistics time on
insert into #SalesOrder
SELECT...
August 19, 2008 at 10:52 am
The only other example that I have is when one drive of a RAID array goes bad and the hardware operator pulls a good drive instead of the bad drive,...
August 19, 2008 at 6:55 am
I've experienced data corruption 5 times so far this year for about 350 SQL Servers. In all cases, the corruption was caused by bad disk drive drivers, SAN drivers...
August 18, 2008 at 3:48 pm
Occasionally, the SQL Server agent get a error and no jobs will run. Check the Agent log, either by looking at the file SQLAGENT.OUT or using Enterprise Manager...
August 18, 2008 at 1:44 pm
Google publishes there solution.
"Bigtable: A Distributed Storage System for Structured Data"
http://labs.google.com/papers/bigtable.html
Bigtable is a distributed storage system for managing structured data that is designed to scale to a very large size:...
August 18, 2008 at 10:51 am
When a where clause has any function using column values as parameters, a comparison of the returned values to a constant disallows the usage of any indexing unless the table...
August 18, 2008 at 10:26 am
As the query optimizer cannot know the value for declared variables, try re-writting into a single SQL statement such as:
Select prodid,prodnum,code
From dbo.vwactivity
Where (Code=1054
and Data1 =...
August 18, 2008 at 9:52 am
GSquared:
Thanks for your benchmark but what I hae found is that when you run the benchmark from twice as many clients as there a CPUs on the database server, the...
August 18, 2008 at 9:27 am
The original benchmark is not available but was C++, SQL Server 2000 and various other components that were on a physically isolated network without any routers. The schema was...
August 18, 2008 at 8:58 am
From your post, the method that you suggested is to let Product table handle the trigger. It means when a row is inserted in to SALEITEM table, the SALEITEM_tUpdate will...
August 18, 2008 at 3:54 am
From Jeff Modem:
you think it's better for the app to write and pass data in the forum of Unioned SELECT statements than to pass a comma seperated string?
Yes,...
August 17, 2008 at 7:12 pm
The recovery mode of a db can be changed at any time but when changing from simple, the new mode does not take real effect until after a full database...
August 16, 2008 at 8:03 pm
Viewing 15 posts - 301 through 315 (of 1,132 total)