title: How To add composite unique key to user defined table Type
body: <p>How To add composite unique key to user defined table type like this :</p>
  
  <pre><code>CREATE TYPE [dbo].[jobdata] AS TABLE(
      [emp_num] [smallint] NULL,
      [job_date] [date] NULL,
      [year] [smallint] NULL,
      [job_code] [smallint] NULL,
      [order_year] [smallint] NULL,
      [order_ser] [decimal](5, 0) NULL,
  
  )
  GO
  </code></pre>
  
  <p>I want <code>emp_num,job_date</code> to be composite unique key .</p>