Sql Server 日期格式化

select CONVERT(date,myDtae,23),ID from myFirstTable;

http://www.cnblogs.com/hantianwei/archive/2009/12/03/1616148.html

 

posted @ 2017-01-16 18:46  孑然询梦  阅读(132)  评论(0编辑  收藏  举报