今天写一段代码非常奇怪.
这个样子居然编译不过
报
[quote]
PCC-S-02201, Encountered the symbol ";" when expecting one of the following:
= * < > + - / ^= | != <= >= <> at, not, between, in, is,
like, day, hour, minute, month, second, year,
[/quote]
被迫改成
成功编译.
求解 中
这个样子居然编译不过
EXEC SQL
select 'A'||LPAD(SUBSTR(max(MOBILE_MODEL),2)+1,4,'0') into :codeMobileModel.mobileModel
from ROUTER.CODE_MOBILE_MODEL where
regexp_like(mobile_model , "^A[0-9]{4}");
报
[quote]
PCC-S-02201, Encountered the symbol ";" when expecting one of the following:
= * < > + - / ^= | != <= >= <> at, not, between, in, is,
like, day, hour, minute, month, second, year,
[/quote]
被迫改成
EXEC SQL
select 'A'||LPAD(SUBSTR(max(MOBILE_MODEL),2)+1,4,'0') into :codeMobileModel.mobileModel
from ROUTER.CODE_MOBILE_MODEL where
mobile_model like 'A___';
成功编译.
求解 中