日期:2014-05-16 浏览次数:20516 次
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}");
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___';