I'd like to know what the equivalent SQL Server type is for a long
in C#.
我想知道在c#中对应的SQL服务器类型是什么。
2 个解决方案
#1
68
The mapping table is clear - BIGINT
is the equivalent of Int64
(which is long
in C#).
映射表是清晰的——BIGINT相当于Int64(在c#中很长)。
#2
16
The equivalent type is bigint
- a 64-bit numeric type.
等效类型是bigint—64位数字类型。
It fits numbers in the range from -2^63
to 2^63-1
- the same as .NET's long
data type.
它适合数字范围从2 ^ 63 - 2 ^ 63 - 1与。net的数据类型。
#1
68
The mapping table is clear - BIGINT
is the equivalent of Int64
(which is long
in C#).
映射表是清晰的——BIGINT相当于Int64(在c#中很长)。
#2
16
The equivalent type is bigint
- a 64-bit numeric type.
等效类型是bigint—64位数字类型。
It fits numbers in the range from -2^63
to 2^63-1
- the same as .NET's long
data type.
它适合数字范围从2 ^ 63 - 2 ^ 63 - 1与。net的数据类型。