title: User Defined Datatype with Constraint in DB2
body: <p>I want to create a user defined data type, let's call it  ‘MyPosInt’ which can take only positive integers within 1 to 100 as its value in DB2.</p>
  
  <p>Now I know, I can create a user defined datatype using 'CREATE DATATYPE' query, but how do I impose this constraint.</p>