摘要: select CONVERT(varchar(7) ,getdate(), 120) as 'Date' from 表名;--只取年月且日期格式为 xxxx-xxselect CONVERT(varchar(12) ,getdate(), 120) as 'Date' from 表名;--只取年月日... 阅读全文
posted @ 2014-05-28 11:42 emmaKang 阅读(42207) 评论(1) 推荐(0) 编辑