This documentation is archived and is not being maintained.

SqlDecimal Structure

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 SqlDecimal Members.


[Visual Basic]
Public Structure SqlDecimal
   Implements INullable, IComparable
public struct SqlDecimal : INullable, IComparable
public __value struct SqlDecimal : public INullable, IComparable

[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.


Namespace: System.Data.SqlTypes

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

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

See Also

SqlDecimal Members | System.Data.SqlTypes Namespace