SQL SERVER类型与C#类型对照
SQL SERVER类型与C#类型对照
SQL SERVER类型 | C#类型 |
int | Int32 |
text | String |
bigint | Int64 |
binary | System.Byte[] |
bit | Boolean |
char | String |
datetime | System.DateTime |
decimal | System.Decimal |
float | System.Double |
image | System.Byte[] |
money | System.Decimal |
nchar | String |
ntext | String |
numeric | System.Decimal |
nvarchar | String |
real | System.Single |
smalldatetime | System.DateTime |
smallint | Int16 |
smallmoney | System.Decimal |
timestamp | System.DateTime |
tinyint | System.Byte |
uniqueidentifier | System.Guid |
varbinary | System.Byte[] |
varchar | String |
Variant | Object |
SQL SERVER类型与C#类型对照(二)
|
SQL语句中Select语句的执行顺序:
- From字句,组装来自不同数据源的数据
- Where字句,基于指定的条件对记录进行筛选。
- Group By 字句,将数据划分为对个分组。
- 使用聚合函数进行计算。
- 使用HAVING字句筛选分组。
- 计算所有的表达式。
- 使用OrderBy对结果进行排序。
相关文章
- [C#]工具类—FTP上传下载
- Client使用c#和odp.net连接server oracle
- C#操作SQL Server中的Image类型数据
- 重新整理数据结构与算法(c#)——算法套路迪杰斯特拉算法[三十一]
- C#各种扩展名文件存入sql server数据库及读取到本地文件
- C#各种扩展名文件存入sql server数据库及读取到本地文件
- C#和nodejs的互操作
- C# DataTable 用法小结
- C# Oracle 连接与修改
- C# 对Excel操作时,单元格值的读取
- C# 泛型编程之泛型类、泛型方法、泛型约束
- [转] C#实现在Sql Server中存储和读取Word文件 (Not Correct Modified)
- C# 继承
- C# Oracle、Sql Server连接(增、删、改、查)
- Atitit.收银机小票打印功能的设计 java php c#.net版本
- 编程语言C#基础入门精华大总结
- C# Excel批注“哪种开发语言最好”
- C# winform随机生成曲线(附源代码下载链接)
- c# 执行python方法
- C# linq join