当前位置: 代码迷 >> PB >> PB + MYSQL,该怎么处理
  详细解决方案

PB + MYSQL,该怎么处理

热度:88   发布时间:2016-04-29 07:13:08.0
PB + MYSQL
开发环境:PB12 + MYSQL 

Select count(*) Into :li_count From depament where parentcode=:s_code;

 错误信息:database c0038:SQLSTATE = 37000[MySQL][ODBC 3.51 Driver][MYSQLD-5.1.51 - community] you have an error in your SQL syntax; check the manual that orresponds to your mysql server version for the right syntax to user near '*) from depamen where depament where parentcode = '" at line

感觉只要SQL中含有COUNT 就会出错!
------解决方案--------------------
http://xznsoft.iteye.com/blog/85037
  相关解决方案