Fastest way for this query (What is the best strategy) given a date range

前端 未结 10 2393
半阙折子戏
半阙折子戏 2021-01-02 11:35

I have a table A that has a startDate and an end dateDate as 2 datetime columns besides some more other columns. I have another table B that has one datetime column call it

10条回答
  •  感情败类
    2021-01-02 12:10

    every version of sql server 2000, 2005, 2008 has a program called DataBase tuning advisor when you run some query it tells you what indexes you need to add to get the query faster Best Regards, Iordan

提交回复
热议问题