if not exists(select * from TSend, dual where FIsActive = 1 and FToTime >= sysdate and Ftype = 2) then
--一分钟后返回一条错误信息
insert into xujp_96345_send_record(tele_num, content, flag_send)
select SEND_DEST, '当前没有可以投票的活动', -1 from dual;
commit;
return;
end if;commit;不加也是这样, 把return 改成exit 也是这样。
请多多指点,谢谢这条语句,编译通不过
Compilation errors for PROCEDURE JIAJIE.CMPP_PROCError: PLS-00103: 出现符号 ";"在需要下列之一时:
;
符号 ";在 ";" 继续之前已插入。
Line: 29
Text: end if;
--一分钟后返回一条错误信息
insert into xujp_96345_send_record(tele_num, content, flag_send)
select SEND_DEST, '当前没有可以投票的活动', -1 from dual;
commit;
return;
end if;commit;不加也是这样, 把return 改成exit 也是这样。
请多多指点,谢谢这条语句,编译通不过
Compilation errors for PROCEDURE JIAJIE.CMPP_PROCError: PLS-00103: 出现符号 ";"在需要下列之一时:
;
符号 ";在 ";" 继续之前已插入。
Line: 29
Text: end if;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货