Viewing 15 posts - 36,481 through 36,495 (of 49,562 total)
spatnaik77 (10/2/2009)
I am thinking of using HINT in the query.
Why?
Do you want to see a query that uses an index seek or do you want the most efficient query...
October 2, 2009 at 1:48 pm
Please post results of this query for the table in question
select index_id, index_type_desc, avg_fragmentation_in_percent, page_count
from sys.dm_db_index_physical_stats(db_id(), object_id('Table Name'),null, null, 'limited')
October 2, 2009 at 10:21 am
Look up DATEADD in SQL's Books Online.
If you want to default to yesterday at midnight, then check this blog post out.
http://sqlinthewild.co.za/index.php/2007/11/05/datetime-manipulation/
October 2, 2009 at 10:09 am
Please post the execution plan of the query in question, both where there are multiple single-column indexes and where there's one composite index.
I don't see any query in your posted...
October 2, 2009 at 9:56 am
spatnaik77 (10/2/2009)
October 2, 2009 at 9:30 am
dndaughtery (10/2/2009)
When I recreate the index are the primary constraints and unique constraints recreated as well or do I need to run a script to recreate them as well?
If you...
October 2, 2009 at 8:43 am
How large is the index in question? How many pages?
October 2, 2009 at 8:32 am
spatnaik77 (10/2/2009)
--Following query should pick the index IX_AGE but is not picking this...
October 2, 2009 at 8:28 am
dndaughtery (10/2/2009)
When loading data into a table and I drop the index in order to get better performance. Does this effect the constraints?
Foreign key constraints, no. Unique and primary key...
October 2, 2009 at 8:19 am
xyzt (10/1/2009)
October 1, 2009 at 2:15 pm
Mark Marinovic (10/1/2009)
October 1, 2009 at 12:15 pm
Melton (10/1/2009)
Duration column within profiler indicates how long the process took in milliseconds.
Depends.
SQL 2005 and above actually measure duration in microseconds, not milliseconds. There's an option in the profiler GUI...
October 1, 2009 at 12:11 pm
william.crawley (10/1/2009)
This differential backup cannot be restored because the database has not been restored to the correct earlier state.Msg 3013, Level 16, State 1, Line xx
Sounds like you're either...
October 1, 2009 at 12:09 pm
repent_kog_is_near (10/1/2009)
In a Full Recovery model, after every transaction log is backed up, is it worth shrinking the Log File?
Only if you want to slow the DB down as it...
October 1, 2009 at 9:54 am
Viewing 15 posts - 36,481 through 36,495 (of 49,562 total)