Evil Kraig F (5/15/2012)
Alone (5/15/2012)
How to change non clustered index scan to non clustered index seek?The concerned tables already have non clustered index configured.Typically? You don't. A seek happens when the data and the filter are selective enough. To get close to guaranteeing a seek you'd need a filter roughly on par with a single day in a year, with even distribution. Even then it would depend on how the index is setup and what your where clause looked like.
After that you're dealing with data volume and tipping points and row width and a number of other factors.
Schema, Actual Execution Plan, and the T-SQL would help us help you here.
Gosh... if all that were true, it wouldn't be worth having things like calendar tables.
--Jeff Moden
Change is inevitable... Change for the better is not.