C#等效的SQL Server数据类型数据类型、SQL、Server

由网友(绘你一世倾城)分享简介:对于下面的SQL Server数据类型,这将是在C#中的相应数据类型?For the following SQL Server datatypes, what would be the corresponding datatype in C#?精确Numerics的 bigintnumericbitsmall...

对于下面的SQL Server数据类型,这将是在C#中的相应数据类型?

For the following SQL Server datatypes, what would be the corresponding datatype in C#?

精确Numerics的

bigint
numeric
bit
smallint
decimal
smallmoney
int
tinyint
money

近似Numerics的

float
real

日期和时间

date
datetimeoffset
datetime2
smalldatetime
datetime
time

字符串

char
varchar
text

的Uni code字符串

nchar
nvarchar
ntext

二进制字符串

binary
varbinary
image

其他数据类型

cursor
timestamp
hierarchyid
uniqueidentifier
sql_variant
xml
table

(来源: MSDN )

推荐答案

它可以帮助得到这个答案可搜索拥有这一切在出任的乔治·斯托克想要的。

It could help to get this answer searchable to have it all in the post as George Stocker wanted.

这是 SQL Server 2005的。有表的 SQL Server 2008的的更新版本, SQL Server 2008 R2的,的

阅读全文

相关推荐

最新文章