Oracle 字符串截取和位置

UPDATE DCS_RESERVED_MARKIT_AMOUNTDETAILS                      SET CHECK_TIME = TO_DATE(substr(OPER_USER,instr(OPER_USER,'-')+1,8)||'084000','YYYYMMDDHH24MISS') WHERE CHECK_TIME>=TRUNC(SYSDATE) AND substr(OPER_USER,instr(OPER_USER,'-')+1,8)<'20201111';
UPDATE DCS_RESERVED_MARKIT_CALLSCHEDULE                       SET CHECK_TIME = TO_DATE(substr(OPER_USER,instr(OPER_USER,'-')+1,8)||'084000','YYYYMMDDHH24MISS') WHERE CHECK_TIME>=TRUNC(SYSDATE) AND substr(OPER_USER,instr(OPER_USER,'-')+1,8)<'20201111';
UPDATE DCS_RESERVED_MARKIT_CASHFLOWDETAILS                    SET CHECK_TIME = TO_DATE(substr(OPER_USER,instr(OPER_USER,'-')+1,8)||'084000','YYYYMMDDHH24MISS') WHERE CHECK_TIME>=TRUNC(SYSDATE) AND substr(OPER_USER,instr(OPER_USER,'-')+1,8)<'20201111';
UPDATE DCS_RESERVED_MARKIT_ENTITYDETAILS                      SET CHECK_TIME = TO_DATE(substr(OPER_USER,instr(OPER_USER,'-')+1,8)||'084000','YYYYMMDDHH24MISS') WHERE CHECK_TIME>=TRUNC(SYSDATE) AND substr(OPER_USER,instr(OPER_USER,'-')+1,8)<'20201111';
UPDATE DCS_RESERVED_MARKIT_INSTRUMENT                         SET CHECK_TIME = TO_DATE(substr(OPER_USER,instr(OPER_USER,'-')+1,8)||'084000','YYYYMMDDHH24MISS') WHERE CHECK_TIME>=TRUNC(SYSDATE) AND substr(OPER_USER,instr(OPER_USER,'-')+1,8)<'20201111';
UPDATE DCS_RESERVED_MARKIT_INTERESTSCHEDULE                   SET CHECK_TIME = TO_DATE(substr(OPER_USER,instr(OPER_USER,'-')+1,8)||'084000','YYYYMMDDHH24MISS') WHERE CHECK_TIME>=TRUNC(SYSDATE) AND substr(OPER_USER,instr(OPER_USER,'-')+1,8)<'20201111';
UPDATE DCS_RESERVED_MARKIT_ORGANIZATIONDETAILS                SET CHECK_TIME = TO_DATE(substr(OPER_USER,instr(OPER_USER,'-')+1,8)||'084000','YYYYMMDDHH24MISS') WHERE CHECK_TIME>=TRUNC(SYSDATE) AND substr(OPER_USER,instr(OPER_USER,'-')+1,8)<'20201111';
UPDATE DCS_RESERVED_MARKIT_ORGANIZATIONINDUSTRYCLASSIFICATION SET CHECK_TIME = TO_DATE(substr(OPER_USER,instr(OPER_USER,'-')+1,8)||'084000','YYYYMMDDHH24MISS') WHERE CHECK_TIME>=TRUNC(SYSDATE) AND substr(OPER_USER,instr(OPER_USER,'-')+1,8)<'20201111';
UPDATE DCS_RESERVED_MARKIT_PUTSCHEDULE                        SET CHECK_TIME = TO_DATE(substr(OPER_USER,instr(OPER_USER,'-')+1,8)||'084000','YYYYMMDDHH24MISS') WHERE CHECK_TIME>=TRUNC(SYSDATE) AND substr(OPER_USER,instr(OPER_USER,'-')+1,8)<'20201111';
UPDATE DCS_RESERVED_MARKIT_TRADINGANDSELLINGRESTRICTIONDETAILS          SET CHECK_TIME = TO_DATE(substr(OPER_USER,instr(OPER_USER,'-')+1,8)||'084000','YYYYMMDDHH24MISS') WHERE CHECK_TIME>=TRUNC(SYSDATE) AND substr(OPER_USER,instr(OPER_USER,'-')+1,8)<'20201111';
       

  

上一篇:Android应用开发入门篇-拼图游戏


下一篇:使用无服务器式的 Jenkins X:探索Prow,Jenkins X Pipeline Oper