2008年5月23日
摘要: 整理了一下SQL Server里面可能经常会用到的日期格式转换方法: 举例如下: select CONVERT(varchar, getdate(), 120 ) 2004-09-12 11:06:08 select replace(replace(replace(CONVERT(varchar, getdate(), 120 ),'-',''),' ',''),':','') 20040... 阅读全文
posted @ 2008-05-23 18:15 一江秋水 阅读(849) 评论(0) 推荐(0)