1.字符串截取方法 --5SELECT INSTR('8.30~9.00', '~') FROM dual; --8.30SELECT SUBSTR ('8.30~9.00', 0, INSTR ('8.30~9.00', '~',1,1)-1) AS time FROM dual;--18.30SELECT SUBSTR ('18.30~19.00', 0, INSTR ('18.30~19.00', '~',1,1)-1) AS appointstime FROM dual; 2.字符串转数…