Export (0) Print
Expand All

UserDefinedDataType.NumericPrecision Property

Gets or sets the maximum number of digits in a numeric value used in the definition of the user-defined data type.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public int NumericPrecision { get; set; }

Property Value

Type: Int32
A Byte value that specifies the numerical precision of the user-defined data type.

Numerical precision specifies the number of digits in a number. For example, the number 123.45 has a numerical precision of 5.

The numerical precision cannot be set to a value greater than the MaxLength property value.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft