title: Turn OFF/ON condition related on variable
body: <p>I have variable <code>,@UseClarifiedChangeType  INT = ISNULL(CAST([Config].[fn_Configuration_Get]('LCSP_ExecChanges_UseClarifiedChangeType') AS INT), 0)</code></p>
  <p>And in middle of sql I have condition <code>AND ISNULL(CHT.ClarifiedChangeType, ECH.ChangeType) IN ('Joining', 'Promotion', 'Internal Move')</code></p>
  <p>I need to use it only if <code>@UseClarifiedChangeType</code> is 1</p>
  <p>How I can do this?</p>