会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
轻风博客
心之所想 皆是过往 目之所及 皆是遗憾
博客园
首页
新随笔
联系
订阅
管理
2008年5月7日
MS SQL Server中的日期格式化大全
摘要: SQL Server中文版的默认的日期字段datetime格式是yyyy-mm-dd Thh:mm:ss.mmm 例如: select getdate() 2004-09-12 11:06:08.177 整理了一下SQL Server里面可能经常会用到的日期格式转换方法: 举例如下: select CONVERT(varchar, getdate(), 120 ) 2004-09-12 11:06...
阅读全文
posted @ 2008-05-07 11:49 古道轻风
阅读(383)
评论(0)
推荐(0)
编辑
公告