在匯入資料的時候,,判斷表中是否已經存在該資料 表名:t_hrm_personnel_info 欄位:PersonnelID
long ll_count
ll_count = 0
select count(1)
into:ll_count
from t_hrm_personnel_info
where PersonnelID=:sPersonnelID;
這段為什么在PB里面一直報錯,,,,我在mysql里面試了又可以 求助!!!!!!
uj5u.com熱心網友回復:
SQLSTATE = 37000[MYSQL][ODBC 5.1 Driver][mysql-5.1.29-rc-community]FUNCTION i3gb_stationery.count does not exist報錯資訊
uj5u.com熱心網友回復:
select count(*)into:ll_count
from t_hrm_personnel_info
where PersonnelID=:sPersonnelID;
uj5u.com熱心網友回復:
配置ODBC時選中支持聚合函式轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/66650.html
標籤:數據庫相關
上一篇:PB 中的報銷計算問題,求高手!
