Sys.Indexes items are missing from sys.objects view SQL Server 2014 -


i have installed sql server 2014.

  • product: microsoft sql server express (64-bit)
  • operating system: microsoft windows nt 6.1 (7601)
  • platform: nt x64
  • version: 12.0.2000.8
  • server collation: latin1_general_ci_as
  • is clustered: false
  • is hadr enabled: false

i created database using right click on databases --> new database. set name, left default options , pressed ok.

executing following query, realized there items sys.indexes view cannot found in sys.objects.

select *  sys.indexes ind not exists ( select * sys.objects obj ind.object_id = obj.object_id ) 

the above query returns following results:

5575058         plan_persist_plan_cidx 5575058         plan_persist_plan_idx1 21575115        plan_persist_runtime_stats_cidx 21575115        plan_persist_runtime_stats_idx1 37575172        plan_persist_runtime_stats_interval_cidx 37575172        plan_persist_runtime_stats_interval_idx1 53575229        plan_persist_context_settings_cidx 2121058592      plan_persist_query_text_cidx 2121058592      plan_persist_query_text_idx1 2137058649      plan_persist_query_cidx 2137058649      plan_persist_query_idx1 

i read non schema-scoped items not returned sys.objects view, cannot find information related above items. until today used sql server 2012 , didn't have problem above table connection logic.

what kind of items these?

how can distinguish these items other (other=the items returned sys.objects)?

thanks,
kostas

you can exclude these items checking ismsshipped object property:

select *  sys.indexes ind not exists ( select * sys.objects obj ind.object_id = obj.object_id ) , objectproperty( ind.object_id, 'ismsshipped' ) = 0 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

django - CSRF verification failed. Request aborted. CSRF cookie not set -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -