oracle 字符最后位置,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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

标签:OPER,SYSDATE,instr,截取,substr,字符串,USER,Oracle,TRUNC

来源: https://www.cnblogs.com/zhanglin123/p/14479444.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值