Using Hints To Test Indexes in SQL Server
強迫使用某一index查看查詢效能變化, 主要是觀察execution plan 中, query cost是否有顯著的下降
使用方式:
SELECT NationalIDNumber
FROM HumanResources.Employee
WITH (INDEX (PK_Employee_EmployeeID))
WHERE Title = 'Stocker'
SSMS 22 安裝器下載頁面 https://learn.microsoft.com/zh-tw/ssms/install/install https://aka.ms/ssms/22/release/vs_SSMS.exe 將安裝檔下載到本機,檔案好大2.5G https:...
沒有留言:
張貼留言