title: How to check if a Constraint exists in Sql server?
body: <p>I have this sql:</p>
  
  <pre><code>ALTER TABLE dbo.ChannelPlayerSkins
      DROP CONSTRAINT FK_ChannelPlayerSkins_Channels
  </code></pre>
  
  <p>but apparently, on some other databases we use, the constraint has a different name. How do I check if there's a constraint with the name <code>FK_ChannelPlayerSkins_Channels</code>.</p>