I have a user that has a very strange problem with my index and statistics maintenance script.
UPDATE STATISTICS [dbo].[_hypmv_1] [hind_1099919040_5A]
gives
Msg 2706, Level 16, State 7, Line 1
Table '_hypmv_1' does not exist.
The strange thing is this:
It is a view, but it doesn't have any indexes.
Statistics can be created on tables and on indexed views (http://msdn.microsoft.com/en-us/library/ms188038.aspx). How can there be a view without indexes, that has statistics?
Some information:
The version is SQL Server 2008 R2.
The database was originally created on SQL Server 2000.
The view has is_schema_bound = 1.
I think that the view was created using Index Tuning Wizard or Database Engine Tuning Advisor.
Has anyone seen this before?
Ola Hallengren
http://ola.hallengren.com
UPDATE STATISTICS [dbo].[_hypmv_1] [hind_1099919040_5A]
gives
Msg 2706, Level 16, State 7, Line 1
Table '_hypmv_1' does not exist.
The strange thing is this:
It is a view, but it doesn't have any indexes.
Statistics can be created on tables and on indexed views (http://msdn.microsoft.com/en-us/library/ms188038.aspx). How can there be a view without indexes, that has statistics?
Some information:
The version is SQL Server 2008 R2.
The database was originally created on SQL Server 2000.
The view has is_schema_bound = 1.
I think that the view was created using Index Tuning Wizard or Database Engine Tuning Advisor.
Has anyone seen this before?
Ola Hallengren
http://ola.hallengren.com