select cast('37200' as int)
select convert(int,'1548877')
其他...
Sql日期:
1 select day(getdate())
2 --当前日期[数字]
3 select month(getdate())
4 --当前月份数字
5
2 --当前日期[数字]
3 select month(getdate())
4 --当前月份数字
5
文字发表于: http://ysoho.cnblogs.com 作者Homepage:http://www.ysoho.com COPY 请保留 此声明