title: Any bad affect if I use TEXT data-type to store a number
body: <p>Is there any bad affect if I use <code>TEXT</code> data-type to store an ID number in a database?
  I do something like:</p>
  
  <pre><code>CREATE TABLE GenData ( EmpName TEXT NOT NULL, ID TEXT PRIMARY KEY);
  </code></pre>
  
  <p>And actually, if I want to store a date value I usually use <code>TEXT</code> data-type. If this is a wrong way, what is its disadvantage?</p>
  
  <p>I am using <code>PostgreSQL</code>.</p>