Information.MaxPrecision Property


Gets the greatest decimal precision available for exact numeric data types (not floating point), including decimal and numeric.

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

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase)]
public byte MaxPrecision { get; }

Property Value

Type: System.Byte

A Byte value that specifies the maximum decimal precision for numeric data types on the instance of SQL Server.

Return to top