What is the equivalent SQL Server type for the C# long type?
The mapping table is clear - BIGINT
is the equivalent of Int64
(which is long
in C#).
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.