How do I Return the Length (Precision?) of an integer column
387625Feb 12 2003 — edited Feb 15 2003 I found out that I need to use the "MissingSchemaAction" property or the "FillSchema" method to return the MaxLength property from the database.
This worked fine for VarChar fields but does not work for Numeric fields. For Numeric fields it always returns -1.
The definition for DataColumn.MaxLength is "gets or sets the maximum length of a text column. The MaxLength property is ignored for non-text columns. If the column has no maximum length, the value is -1 (default)."
So, is there a way to determine the Max Length of a integer field being returned through either a OracleDataReader ot a DataTable? Hidden in the DataColumn.Extendedproperties that I cannot figure out how to access?
Thanks in Advance,
-J