最后一个参数为类型参数,可参考 http://www.blogjava.net/sealyu/archive/2009/11/05/301216.html
convert(datetime,'2011-07-01 00:00:00.000',21)