sql 自动补位技巧

月份保留2位数:

select right(100+month(getdate()),2)

posted @ 2010-07-29 16:28  李传涛  阅读(365)  评论(0)    收藏  举报