Export (0) Print
Expand All

OracleNumber Structure

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Represents a fixed precision and scale numeric value between -1038 -1 and 10 38 -1 to be stored in or retrieved from a database.

For a list of all members of this type, see OracleNumber Members.

System.Object
   System.ValueType
      System.Data.OracleClient.OracleNumber

[Visual Basic]
Public Structure OracleNumber
   Implements IComparable, INullable
[C#]
public struct OracleNumber : IComparable, INullable
[C++]
public __value struct OracleNumber : public IComparable, INullable

[JScript] In JScript, you can use the structures in the .NET Framework, but you cannot define your own.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

To obtain an OracleNumber object, call the GetOracleNumber method.

Oracle numeric data types can store up to 38 bytes of precision. When converting Oracle numeric values to common language runtime data types there is a possibility that the Oracle value will be too large. This results in an Oracle OCI-22053 overflow error. If there is a possibility that your Oracle database might contain large values, you should use the OracleNumber data type. You can then convert to the common language runtime data type explicitly, and catch or handle any errors.

Requirements

Namespace: System.Data.OracleClient

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Data.Oracleclient (in System.Data.Oracleclient.dll)

See Also

OracleNumber Members | System.Data.OracleClient Namespace

Show:
© 2014 Microsoft