sql中把字符串转化为数字的方法

1. convert(int,字段名) 
2. cast(字段名 as int)

posted on 2017-12-28 18:02  枫飞飞  阅读(160602)  评论(0编辑  收藏  举报