title: How can I get SQL Server column definition with parentheses and everything?
body: <p>I need a smart way to get the data types out of INFORMATION_SCHEMA.COLUMNS in a way that could be used in a CREATE TABLE statement.  The problem is the 'extra' fields that need to be understood, such as NUMERIC<code>_</code>PRECISION and NUMERIC<code>_</code>SCALE.</p>
  
  <p>Obviously, I can ignore the columns for INTEGER (precision of 10 and scale of 0), but there are other types I would be interested in, such as NUMERIC.  So without writing lots of code to parse the table, any ideas on how to get a sort of field shorthand out of the column definition?</p>
  
  <p>I would like to be able to get something like :
  int,
  datetime,
  money,
  numeric**(10,2)**</p>