title: Add column of auto generated numbers to existing teradata table to use as key
body: <p>I have an existing table where I need to add a "key" column and auto-populate that column with sequential numbers.</p>
  
  <pre><code>ALTER TABLE my_table ADD key CHAR(25) 
  key decimal(10,0) NOT NULL GENERATED ALWAYS AS IDENTITY
             (START WITH 1 
              INCREMENT BY 1 
              MINVALUE 1 
              MAXVALUE 2147483647 
              NO CYCLE)
  </code></pre>
  
  <p>Can you help me structure this appropriately?</p>