Hi, I have just installed SQL Server 2014Product: Microsoft SQL Server Express (64-bit)Operating System: Microsoft Windows NT 6.1 (7601)Platform: NT x64Version: 12.0.2000.8Server Collation: Latin1_General_CI_ASIs Clustered: False Is HADR Enabled: FalseI created a database using right click on Databases --> New Database. I set a name, I left the default options and I pressed OK. Executing the following query, I realized that there are items from sys.indexes view that cannot be found in sys.objects.Select * From sys.indexes indWhere not exists ( select * from sys.objects obj where ind.object_id = obj.object_id )The above query retuns the following results: 5575058 plan_persist_plan_cidx5575058 plan_persist_plan_idx121575115 plan_persist_runtime_stats_cidx21575115 plan_persist_runtime_stats_idx137575172 plan_persist_runtime_stats_interval_cidx37575172 plan_persist_runtime_stats_interval_idx153575229 plan_persist_context_settings_cidx2121058592 plan_persist_query_text_cidx2121058592 plan_persist_query_text_idx12137058649 plan_persist_query_cidx2137058649 plan_persist_query_idx1I read that non schema-scoped items are not returned from sys.objects view, but i cannot find any information related to the above items. Until today i used SQL Server 2012 and i didn't have any problem with the above table connection logic. What kind of items are these? How can i distinguish these items from other (other=the items returned from sys.objects)?Thank you in advance. Regards, Kostas
↧