Limitation on precision for decimal and numeric datatypes

The Adaptive Server ADO.NET Data Provider currently supports a maximum precision of 26 numbers for a decimal type. The underlying .NET structure and the corresponding Adaptive Server datatypes can handle a higher precision, and attempting to use a precision higher than 26 results in an exception. The Adaptive Server datatypes affected by this limitation are decimal and numeric.