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  
  • 相关阅读:
    MySQL基础之排序检索数据
    网络编程之并发网络编程
    网络编程之粘包问题
    MySQL基础之检索数据
    MySQL基础之使用MySQL
    MySQL基础之MySQL简介
    MySQL基础之了解MySQL
    网络编程之socket编程
    网络编程之网络通信原理
    别找了,最全的搜集关键词方法在这里
  • 原文地址:https://www.cnblogs.com/EasonWu/p/904317.html
Copyright © 2011-2022 走看看