Viewing 15 posts - 43,546 through 43,560 (of 49,571 total)
rchantler (10/27/2008)
October 27, 2008 at 8:40 am
Chris Morton (10/22/2008)
How Do I put the result of
EXECUTE
( 'SELECT count(' + @columnname...
October 27, 2008 at 8:17 am
Duplicate post. Please direct replies to http://www.sqlservercentral.com/Forums/Topic592120-373-1.aspx
October 27, 2008 at 8:13 am
Jonathan Kehayias (10/27/2008)
October 27, 2008 at 8:01 am
bhuvnesh.dogra (10/27/2008)
Actually creating/droping is for spped up the insertion
Does it speed up the insert? Have you tested with and without the index recreation and proven that it's faster...
October 27, 2008 at 7:54 am
Now things become a little clearer. Is the query you posted taking 21 seconds or is the entire stored procedure (with the inserts and all the index creations) taking 21...
October 27, 2008 at 6:07 am
It could be due to a database/log restore. (Is this a logshipping destination?). It could be from certain configuration changes (sp_configure). It could be from someone running DBCC FREEPROCCACHE. It...
October 27, 2008 at 5:50 am
Jonathan Kehayias (10/27/2008)
October 27, 2008 at 5:46 am
The first thing you should do is make sure that all tables have primary keys and are properly normalised.
Run profiler for a while during your busy times. Record the rpc:completed...
October 27, 2008 at 5:08 am
Leo (10/27/2008)
Hi Gila,Okay, I have untick the box for auto repair option. So do you think one of the Master,MSDB,TempDB got a error? It was failed becasue of that?
Maybe
Shall I...
October 27, 2008 at 4:41 am
bhuvnesh.dogra (10/27/2008)
yes u are rightthis is the IO results
--------------------------------------------------------------
SQL Server Execution Times:
CPU time = 0 ms, elapsed time = 7 ms.
--------------------------------------------------------------
The entire result please....
October 27, 2008 at 4:40 am
You should never run repair on a regular basis. It should only be run when there is corruption, and there's no other way to fix it. It's a last resort,...
October 27, 2008 at 4:07 am
bhuvnesh.dogra (10/27/2008)
but rest os the tables are not actually tables they are table views;tables which are from other databases to main database ...
What are the view definitions? What indexes are...
October 27, 2008 at 3:58 am
Great. Please can you post table definition and index definitions.
How many rows are in the tables? How many does the query return? How long does the query run?
The plan looks...
October 27, 2008 at 3:19 am
Run the query with the execution plan option on.
Right click the generated plan and select save. Save it as a .SQLPlan file (You are using SQL 2005? I assume so...
October 27, 2008 at 2:40 am
Viewing 15 posts - 43,546 through 43,560 (of 49,571 total)