When querying a table thru a linked server, got the following error message.Msg 2767, Level 16, State 1, Procedure sp_table_statistics2_rowset, Line 105Could not locate statistics '_WA_Sys_00000007_47DBAE45' in the system catalogs.The database was a secondary replica, primary replica was fine. Ran dbcc show statistics on secondary replica, that failed to find statistics distribution. There was an entry in sys.stats on both. Drop statistics on primary, to resolve.
Operating System Language
Steps to Reproduce