0

我使用以下代码开发了一个存储过程,通过使用 #tmpRIStatusReport 作为临时表并将值插入#tmpRIStatusReport 并用于多种用途。

当我运行执行计划时,下面的消息说缺少#tmpRIStatusReport上的索引。

/*
Missing Index Details from ~vs4E6E.sql - databaserver.databasename (developerID (113))
The Query Processor estimates that implementing the following index could improve the query cost by 18.9401%.
*/

/*
USE [tempdb]
GO
CREATE NONCLUSTERED INDEX [<Name of Missing Index, sysname,>]
ON [dbo].[#tmpRIStatusReport__________________________________________________________________________________________________00000000291F] ([SubId])

GO
*/

请问有人能建议我做什么吗?

4

0 回答 0