Do I need to rebuild index in maintenance plan if the following query gives null values:
SELECT object_name(b.object_id) as obj_name, b.name as index_name, a.* FROM sys.dm_db_index_usage_stats a right outer join sys.indexes b on a.object_id = b.object_id and a.index_id = b.index_id and a.database_id = 5 where b.object_id > 100 order by user_seeks + user_scans
Regards
Chitra