title: How to check if change tracking is enabled on a specific table
body: <p>For some reason our build system gives me an error saying change tracking is ALREADY enabled on a table I want to enable it on.</p>
  
  <pre><code>ALTER TABLE [dbo].[MyTable]
  ENABLE CHANGE_TRACKING  
  WITH (TRACK_COLUMNS_UPDATED = OFF) 
  </code></pre>
  
  <p>I did a search but could't find something like an <code>IF EXISTS</code> to say first see if it is enabled or not, if it is not enabled then run that <code>ALTER</code> command. </p>