摘要: --行列互转 002 /****************************************************************************************************************************************************** 003 以学生成绩为例子,比较形象易懂 004 日期:2008.06.06 005 *******************************************************************************************... 阅读全文
posted @ 2011-11-26 21:07 ddbug 阅读(157) 评论(0) 推荐(0)
摘要: 1 --日期转换参数,值得收藏 2 select CONVERT(varchar, getdate(), 120 ) 3 2004-09-12 11:06:08 4 5 select replace(replace(replace(CONVERT(varchar, getdate(), 120 ),'-',''),'',''),':','') 6 20040912110608 7 8 select CONVERT(varchar(12) , getdate(), 111 ) 9 2004/09/12 阅读全文
posted @ 2011-11-26 21:05 ddbug 阅读(167) 评论(0) 推荐(0)