我想知道对于 C # 中的 long,相应的 SQLServer 类型是什么。
long
The equivalent type is bigint which is a 64-bit numeric type.
bigint
It fits numbers in the range from -2^63 to 2^63-1 which is the same as the C# long type.
-2^63
2^63-1
The mapping table is clear - BIGINT is the equivalent of Int64 (which is long in C#).
BIGINT
Int64