OracleParameter.Precision Property

NOTE: This property is now obsolete.

Gets or sets the maximum number of digits used to represent the Value property.

Namespace: System.Data.OracleClient
Assembly: System.Data.OracleClient (in

<ObsoleteAttribute("Precision has been deprecated.  Use the Math classes to explicitly set the precision of a decimal.")> _
Public Property Precision As Byte
Dim instance As OracleParameter
Dim value As Byte

value = instance.Precision

instance.Precision = value
/** @property */
public final byte get_Precision ()

/** @property */
public final void set_Precision (byte value)

public final function get Precision () : byte

public final function set Precision (value : byte)

Not applicable.

Property Value

The maximum number of digits used to represent the Value property. The default value is 0, which indicates that the data provider sets the precision for Value.

Setting the Precision or Scale properties has no effect.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 1.1, 2.0
Obsolete (compiler warning) in 3.0

Community Additions