zoukankan      html  css  js  c++  java
  • (转)SQL Server Data Types and Their .NET Framework Equivalents

    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
  • 相关阅读:
    有注释的LED驱动
    给想成为程序员的大学生的建议
    三星s3c6410用户手册初步阅读
    linux下重新安装grub
    对寄存器的操作
    linux 头文件
    VC的环境设置
    VC++工程文件说明
    C/C++文件操作转载自http://www.cnblogs.com/kzloser/archive/2012/07/16/2593133.html#b1_2
    GetWindowDC-BeginPaint-GetDC 区别详解
  • 原文地址:https://www.cnblogs.com/buhaiqing/p/1555482.html
Copyright © 2011-2022 走看看