I want to store a C#.NET ulong
into a T-SQL database. I don't see any provisions for doing this, as the SQL bigint
has the same Min/Max values as a normal long
.
Is there any way I can do this? Or is catching an OverflowException
my only hope?
DECIMAL(20,0) CHECK (columnName >= 0 AND columnName <= 18446744073709551615)
. – Shults