Thank you Toni
I changed the select and from what I saw I did tests only brought me the ones with the broken reference. I also added a group by for understanding question.
I made a sqlAdvance for better understanding.
SyntaxEditor Code Snippet
SELECT {Espace}.*, {Espace_Runtime}.* FROM {Espace} inner join {Espace_Version} on {Espace}.[Id] = {Espace_Version}.[eSpace_Id] and {Espace}.Version_Id = {Espace_Version}.Id inner join {Espace_Reference} on {Espace_Version}.[Id] = {Espace_Reference}.[Consumer_Version_Id] inner join {Espace} Producer on {Espace_Reference}.[Producer_SS_Key] = Producer.[SS_Key] left join {Espace_Runtime} on {Espace}.[Id] = {Espace_Runtime}.[Espace_Id] where {Espace}.[Is_Active] = 1 and Producer.[Is_Active] = 1 and {Espace}.[Name] like 'sipv%' and {Espace_Runtime}.[Missing_References] > 0 and ({Espace_Runtime}.[Broken_References] > 0 or {Espace_Runtime}.[Outdated_References] > 0 or {Espace_Runtime}.[Outdated_Missing_References] > 0 or {Espace_Runtime}.[OldProducer_References] > 0 or {Espace_Runtime}.[Requires_Compilation] = 1) group by {Espace}.*, {Espace_Runtime}.* order by {Espace}.[Name]
Result Sql
Service Center