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 deci...
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对结果进行排序。
文章来源: wanghao.blog.csdn.net,作者:AI浩,版权归原作者所有,如需转载,请联系作者。
原文链接:wanghao.blog.csdn.net/article/details/120871768
【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
作者其他文章
评论(0)