原帖地址: http://bylijinnan.iteye.com/blog/1984472?utm_source=tuicool
摘要 :
- The SUM() and AVG() functions return a DECIMAL value for exact-value arguments (integer or DECIMAL), and a DOUBLE value for approximate-value arguments (FLOAT or DOUBLE). (Before MySQL 5.0.3, SUM() and AVG() return DOUBLE for all numeric arguments.)
原文:
今天项目切换数据库时,出错
访问数据库的代码大概是这样:
相关推荐