摘要: bit数据库字段不能使用sum等数学统计公式,将其通过cast函数转化为tinyint类型就可以用 例:select sum(cast(m0101 as tinyint)) from table1 阅读全文
posted @ 2007-11-22 14:58 cheerwen 阅读(478) 评论(0) 推荐(0) 编辑