zoukankan      html  css  js  c++  java
  • C#数据类型与SQL Server对应

     bigint       -------int  
      binary         ---------int  
      bit   ---------------bool  
      char   ---------------string  
      datetime   -------------DateTime  
      decimal   -------------decimal  
      float     ---------------float  
      image   -----------------   byte[]  
      int     -------------------int  
      money-----------------   float   好像差不,大概:-)  
      nchar       ---------------string  
      ntext     ---------------string  
      numeric   ------------------double  
      nvarchar---------------string  
      real------------------float  
      smalldatetime   ------------------   datetime  
      smallint------------------int  
      smallmoney------------------   float  
      sql_variant------------------   应该是   object   或   object[]     sql_variant   类型的列可以包含不同数据类型的行。例如,定义为   sql_variant   的列可以存储   int、binary   和   char   值。不能使用   sql_variant   存储的值类型只有   text、ntext、image、timestamp   和   sql_variant。  
       
      sql_variant   的最大长度可达   8016   字节。  
       
       
      sysname------------------?  
      text------------------   string    
      timestamp------------------?  
      tinyint------------------   int  
      uniqueidentifier------------------     guid   但还有点拿不准  
      varbinary------------------   byte[]  
      varchar   ------------------string  
  • 相关阅读:
    连接池的实现 redis例子
    XSS的防御
    element-UI使用中:el-input type为textarea时@change无法触发?
    textarea高度自适应(转载)
    友盟统计单页面应用vue
    axios formData提交数据 && axios设置charset无效???
    解锁技能:sass + node-sass多页面应用编译(转载)
    css3新单位vw、vh、vmin、vmax的使用详解(转载)
    移动端bug集合
    Python3之Memcache使用
  • 原文地址:https://www.cnblogs.com/EasonWu/p/904317.html
Copyright © 2011-2022 走看看