1.原sql
| SQL | 执行次数 | 平均I_O | 总I_O | 逻辑写 | 逻辑读 | CPU平均耗时 | 总CPU耗时_秒 | 优化建议 |
| (@CustomerID int,@Status int,@CloseAccountYear int,@CloseAccountMonth int)SELECT A.ID FROM RB_Inventory_CloseAccount A WITH ( NOLOCK ) WHERE A.Status = @Status AND A.CustomerID = @CustomerID AND A.CloseAccountYear = @CloseAccountYear AND A.CloseAccountMonth = @CloseAccountMonth | 2350 | 3.5 | 9250 | 0 | 9250 | 0 | 113 | 已优化 |
2.Erp系统对应位置


3.代码最后提交记录
