0
delimiter #

create trigger update_recharge_due_onrenewal after insert on recharge
for each row set
begin
update due_amount SET due_amount.amount=due_amount.amount-(select rate from
internet_package where recharge.package_id = internet_package.package_id)
where
due_advance.user_id = recharge.user_id;
end;#

为什么这显示错误 - 未知系统变量“开始”

4

1 回答 1

2

更改for each row setfor each row

于 2013-08-09T19:04:00.157 回答