title: Get the original data format of a DataColumn
body: <p>How can I get the original data format (in the database) of a DataColumn object?</p>
  
  <p>I have DataColumn objects from a DataTable that is part of the result of opening a DBCommand SQL "select" query.</p>
  
  <p>How do I get information on the original data formats returned by the query (i.e. "varchar[50]" and so forth).</p>
  
  <p>I know DataColumn.DataType but the information here is not specific enough, for example it is not possible to distinguish varchar and char or to distinguish date and timestamp or to get the maximum length of a varchar field and so on.</p>
  
  <p>Getting information from the server database scheme directly is not the solution I am looking for, because the query text is entered by the user and I don't want to parse the text myself to find out what column of what table is being used and because there can be columns that don't have a corresponding entry in the database (e.g. select ColumnA || Column B, 'SomeLiteral', 12 * ColumnC, null from MyTable)</p>