2012年11月13日

SQL - 日期格式化

摘要: select CONVERT(varchar, getdate(), 120 )2004-09-12 11:06:08select replace(replace(replace(CONVERT(varchar, getdate(), 120 ),'-',''),' ',''),':','')20040912110608select COUNVRT(varchar(12) , getdate(), 23 )2008-04-01select CONVERT(varchar(12) , getdate( 阅读全文

posted @ 2012-11-13 13:46 淡定的无奈 阅读(119) 评论(0) 推荐(0) 编辑

导航