title: MySql insert statement to binary datatype?
body: <p>I am using MySQL database.</p>
  
  <p>I have one table having column with datatype binary(16).</p>
  
  <p>I need help with the insert statement for this table.</p>
  
  <pre><code>Example:
  CREATE TABLE `assignedresource` (
  `distid` binary(16) NOT NULL
  )
  
  insert into assignedresource values ('9fad5e9e-efdf-b449');
  
  Error : Lookup Error - MySQL Database Error: Data too long for column 'distid' at row 1
  </code></pre>
  
  <p>How to resolve this issue?</p>