Ext.Net

Self-employed.

导航

sql 字符串 转 数字

Posted on 2008-06-15 04:44  Ext.Net  阅读(2746)  评论(0编辑  收藏  举报
select   cast('37200'   as   int)
select   convert(int,'1548877')   

其他...
Sql日期:
1 select day(getdate())
2 --当前日期[数字]
3 select month(getdate())
4 --当前月份数字
5