title: Create SQL User Defined Types in Visual Studio 2012
body: <p>How to create a user defined type in SQL Server using VS2012?
  I tried to do the step shown in the image but no thing appears.</p>
  
  <p><img src="https://i.stack.imgur.com/Clxj5.png" alt=""></p>
  
  <p>Also I have tried to create Type using the following code but I can not create elements of that type in my table.</p>
  
  <pre><code>CREATE TYPE CartListType AS TABLE 
  (
     [ItemNo]   INT            NOT NULL,
     [NameEn]   NVARCHAR (150) NULL,
     [Price]    FLOAT (53)     NULL,
     [Quantity] INT            NULL,
     [ImageSrc] VARCHAR (100)  NULL
  )
  </code></pre>