2013年9月29日
摘要: MS SQL 转换数据类型select cast(列A as int) 列Aselect convert(int,列A) 列A--转字符串为intselect len(ltrim(str('数字')))select len(str('数字'))--转数字为字符串时 要加ltrim 来去掉左边空格 阅读全文
posted @ 2013-09-29 16:37 z5337 阅读(253) 评论(0) 推荐(0)