Viewing 7 posts - 46 through 52 (of 52 total)
This is just another alternative. This will count the columns used and pulls out the one that has the most columns used. More of a straight sql approach.
declare @Op1 int,...
May 24, 2005 at 10:18 am
I haven't heard anything about RAID. If you have 8GB of space on one disk that is partitioned into 3 drive letters, moving files wont do any bit of good. ...
June 11, 2004 at 12:20 pm
Please post the code.
A couple of areas to check. If you "SET" a variable, make sure that the select statement doesn't return more than one row. In your select statement,...
June 11, 2004 at 12:10 pm
Even if the "Database Recovery Model" is set to "SIMPLE" you can still grow the transaction log file until there is no more disk. If a lot of data is...
June 11, 2004 at 12:04 pm
What I have done was created a simple stored procedure that accepts the parameter of @tablename.
CREATE PROCEDURE sps_TruncateTable (@Table VARCHAR(100))
AS
BEGIN
EXEC ('TRUNCATE TABLE ' + @Table)
END
Then add the stored...
September 11, 2003 at 10:40 am
I would recommend doing a Index Rebuild and a statistics FULLSCAN of indexes. Without seeing the execution plan, I would be interested in the "Estimated Row Count." Is...
September 11, 2003 at 10:35 am
I am not sure which one, but I think DBCC INDEXDEFRAG or DBCC DBREINDEX use TempDB to reorganize the data pages. If you rebuild/defrag your indexes in the production...
September 11, 2003 at 10:19 am
Viewing 7 posts - 46 through 52 (of 52 total)