Create Indexes with Included Columns
有一些 Key Lookup deadlock 就是因為在 Update 某 Table 時,除了更新了 Clustered Index 後,還需要再更新 Non Clustered Index,而另一個 Select 除了透過 Non Clustered Index 找到資料後,還需要到 Lookup 到 Clustered Index 取得資料。這樣子就有可能會互相 Lock 到而造成 Deadlock,這種狀況可以加入 Included Columns 來解決。