Viewing 15 posts - 1 through 15 (of 69 total)
Sorry for the late reply guys.
Paul, thanks for this idea. I'm trying your idea and will let you kow after testing.
March 31, 2011 at 1:04 am
Here is the result of SET STATISTICS IO ON:
Table '#AAMaxRunVersion____________________________________________________________________________________________________000000026E3A'. Scan count 3005, logical reads 6033, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0,...
March 29, 2011 at 8:30 am
Not working. Well as you can see the execution plan, the tables within the subquery with alias "e" is taking around 60-70% of time as these are the huge tables....
March 29, 2011 at 2:14 am
I already checked the statistics last updated date and these shows as current date so no issues with old statistics at all. Let me know if anything can be done...
March 28, 2011 at 12:46 am
Is there a way to write this query more efficiently ?
March 25, 2011 at 12:45 am
Before posting this thread, i did checked the table and index health and all looks good. Fragmentation level is almost around 10% for every participating table.
March 24, 2011 at 8:03 am
The columns are same. BusinessDate first column of index, PName second, DName third....
March 18, 2011 at 10:19 pm
Understand but how can we change any clustered index based on just one query. We have created that index based on various facts. This index has been created based on...
March 18, 2011 at 10:51 am
No working. Here is the table structure:
BusinessDatedatetimeno8 no(n/a)(n/a)NULL
PNamevarcharno30 nononoSQL_Latin1_General_CP1_CS_AS
DNamevarcharno30 ...
March 18, 2011 at 8:57 am
Yeah I understand, but its not possible to change my requirement. One more thing, the clustered index on that table consists of four columns and my WHERE clause consists of...
March 18, 2011 at 8:01 am
Learned few things from this operation.
First, If the column to be altered is a part of Primary contraint, foreign key constraint or uniqu constraint, you need to drop them...
March 18, 2011 at 6:28 am
Its giving me error while altering the column after disabling the primary constraint.
Msg 1974, Level 16, State 3, Line 1
Cannot perform the specified operation on table 'temp' because its clustered...
March 15, 2011 at 4:18 am
Ok. in case of disable-enable condition, if we have primary key constraint, will that constaint work same way [once enabled after changing the column] as it work before disabling ?...
March 15, 2011 at 4:11 am
Viewing 15 posts - 1 through 15 (of 69 total)