What is the equivalent SQL Server type for the C# long type?
Solution 1:
The mapping table is clear - BIGINT
is the equivalent of Int64
(which is long
in C#).
Solution 2:
The equivalent type is bigint
which is a 64-bit numeric type.
It fits numbers in the range from -2^63
to 2^63-1
which is the same as the C# long
type.