title: How does the constraints GUI work in SQL Server Management Studio?
body: <p>In my TSQL table I added a constraint with the following sQL statement</p>
  
  <pre><code>alter table disabledqualities
  add constraint uc_uIdQualCode
  unique (userId, qualitycode)
  </code></pre>
  
  <p>I did it by hand because I just can't work out how the GUI is supposed to work.<br>
  You add a constraint and then you get a window where you should "define" your constraint. It's basically just a textbox. And no matter what I seem to enter, it never validates..</p>
  
  <p>What am I supposed to enter in the box?</p>