会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Keep Walking
no matter what has happened...what's happening...what will happen...we must be on the way...
博客园
首页
新随笔
联系
管理
订阅
2008年4月29日
MS SQL Server中的 CONVERT 日期时间 格式化大全
摘要: CONVERT 将某种数据类型的表达式显式转换为另一种数据类型。由于某些需求经常用到取日期格式的不同.现以下可在SQL Server中 将日期格式化. SQL Server 支持使用科威特算法的阿拉伯样式中的数据格式。 在表中,左侧的两列表示将 datetime 或 smalldatetime 转换为字符数据的 style 值。 给 style 值加 100,可获得包括世纪数位的四位年份 (yyy...
阅读全文
posted @ 2008-04-29 17:33 Fernando
阅读(6769)
评论(0)
推荐(0)
编辑
公告