• excuse me but this is my first post. I edited the script and now I wait for the publication of this issue.

    This is the script :

    select

    [Table] = o2.name,

    [Constraint] = o.name,

    [Enabled] = case when ((C.Status & 0x4000)) = 0 then 1 else 0 end

    from sys.sysconstraints C

    inner join sys.sysobjects o on o.id = c.constid -- and o.xtype='F'

    inner join sys.sysobjects o2 on o2.id = o.parent_obj