执行查询后,将显示基数估计警告

时间:2019-02-14 11:40:29

标签: sql sql-server

SELECT TOP 1 D2.EMAIL_Address As SupervisorSId
        , D2.Employee_ID As SupervisorId
        , COALESCE(D2.DISPLAY_NAME,D2.First_Name + ' ' +D2.Last_Name,'') AS  [By_Assignee_Supervisor] 
        , D1.Manager_LDAP_Path,d2.SHORT_USER_NAME 
        , D1.JOB_TITLE
        , D1.DEPARTMENT_NAME
FROM [Departments].[DBO].[DEPARTMENT_STRUCTURE_EMPLOYEE_MASTER] D1 
Inner Join [Departments].[DBO].[MANAGER_CONFIG] M1 ON CONVERT(nvarchar(MAX),D1.Employee_GUID)=CONVERT(nvarchar(MAX),M1.Employee_GUID)
        --AND D1.Short_User_Name= CC.[CASE_ASSGN_TO]    
Inner Join [Departments].[DBO].[DEPARTMENT_STRUCTURE_EMPLOYEE_MASTER] D2 ON CONVERT(nvarchar(MAX),D2.Employee_GUID)=CONVERT(nvarchar(MAX),M1.MANAGER_GUID)
INNER JOIN [Departments].[DBO].[USER_ACCOUNT_STATUS_REF] UASR WITH(NOLOCK) ON D1.USER_AD_STATUS =UASR.STATUS_VALUE  
ORDER BY M1.IS_Primary DESC

我有这个查询。执行时,它会在左侧桌面上显示警告。

enter image description here Full-size version

有人可以告诉我如何删除此警告吗?

0 个答案:

没有答案