深圳全飞鸿

标题: 数据库存储过程开发时的思维定势错误 [打印本页]

作者: zhgc    时间: 2019-5-1 17:19
标题: 数据库存储过程开发时的思维定势错误
数据库存储过程开发时的思维定势错误               

该错误上报单位:TD



为TD二次开发时此入的错误 ,变量定义异常




作者: admin    时间: 2019-7-24 08:44
华冠上报问题:
【任务单号】:26236881888870400
【创建人员】:天外来客
【任务内容】: 上传账号在Q6里面可以查询到吗?
【回复信息】:确实没有保存员工信息,已修正程序!


异常语句:
select substr(station,1,16),emp into l_atename, EMP  from sfc.r_ate_emp_t where ip=MYIP limit 1;
改为一下
select substr(station,1,16),`emp` into l_atename,EMP  from sfc.r_ate_emp_t where ip=MYIP limit 1;
然而并没有出现预期的效果, why?

改为
select substr(station,1,16),`emp` into l_atename,C_EMP  from sfc.r_ate_emp_t where ip=MYIP limit 1;

作者: zhgc    时间: 2022-7-1 12:12
        the problem is :
                you think the lot_no is r_lot_rec_t.lotno
                but , the system think the lot_no as the vairable
                so , i have modified as following:








欢迎光临 深圳全飞鸿 (http://www.nagomes.com/disc/) Powered by Discuz! X3.2