第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

C#等效的SQL Server數(shù)據(jù)類型

C#等效的SQL Server數(shù)據(jù)類型

RISEBY 2019-08-14 16:12:58
C#等效的SQL Server數(shù)據(jù)類型對(duì)于以下SQL Server數(shù)據(jù)類型,C#中相應(yīng)的數(shù)據(jù)類型是什么?精確的數(shù)字bigint numeric bit smallintdecimalsmallmoneyinttinyint money近似數(shù)字floatreal日期和時(shí)間date datetimeoffset datetime2 smalldatetime datetime time字符串charvarchar textUnicode字符串nchar nvarchar ntext二進(jìn)制字符串binary varbinary image其他數(shù)據(jù)類型cursor timestamp hierarchyid uniqueidentifier sql_variant xml table(來(lái)源:MSDN)
查看完整描述

3 回答

?
大話西游666

TA貢獻(xiàn)1817條經(jīng)驗(yàn) 獲得超14個(gè)贊

這適用于SQL Server 2005SQL Server 2008,SQL Server 2008 R2,SQL Server 2012SQL Server 2014的表的更新版本。

SQL Server數(shù)據(jù)類型及其.NET Framework等價(jià)物

下表列出了Microsoft SQL Server數(shù)據(jù)類型,它們?cè)?strong>System.Data.SqlTypes命名空間中SQL Server的公共語(yǔ)言運(yùn)行時(shí)(CLR)中的等效項(xiàng),以及Microsoft .NET Framework中它們的本機(jī)CLR等效項(xiàng)。

SQL Server data type          CLR data type (SQL Server)    CLR data type (.NET Framework)  

varbinary                     SqlBytes, SqlBinary           Byte[]  

binary                        SqlBytes, SqlBinary           Byte[]  

varbinary(1), binary(1)       SqlBytes, SqlBinary           byte, Byte[] 

image                         None                          None


varchar                       None                          None

char                          None                          None

nvarchar(1), nchar(1)         SqlChars, SqlString           Char, String, Char[]     

nvarchar                      SqlChars, SqlString           String, Char[] 

nchar                         SqlChars, SqlString           String, Char[] 

text                          None                          None

ntext                         None                          None


uniqueidentifier              SqlGuid                       Guid 

rowversion                    None                          Byte[]  

bit                           SqlBoolean                    Boolean 

tinyint                       SqlByte                       Byte 

smallint                      SqlInt16                      Int16  

int                           SqlInt32                      Int32  

bigint                        SqlInt64                      Int64 


smallmoney                    SqlMoney                      Decimal  

money                         SqlMoney                      Decimal  

numeric                       SqlDecimal                    Decimal  

decimal                       SqlDecimal                    Decimal  

real                          SqlSingle                     Single  

float                         SqlDouble                     Double  


smalldatetime                 SqlDateTime                   DateTime  

datetime                      SqlDateTime                   DateTime 


sql_variant                   None                          Object  

User-defined type(UDT)        None                          user-defined type     

table                         None                          None 

cursor                        None                          None

timestamp                     None                          None 

xml                           SqlXml                        None


查看完整回答
反對(duì) 回復(fù) 2019-08-14
  • 3 回答
  • 0 關(guān)注
  • 459 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)