【Mark】convert函数(SQL)

convert(char(5),updatetime,110)取updatetime字段的月日,

convert(char(10),updatetime,120)取updatetime字段的年月日。

感谢朱杰的朋友。

posted on 2009-07-11 10:52  猎风  阅读(187)  评论(0编辑  收藏  举报