SELECT count(1) FAILED_COUNT FROM RETRY_JEOPARDY
WHERE TO_CHAR(trans_time - INTERVAL '1' HOUR,'DD-MM-YYYY HH24:MI:SS')
BETWEEN TO_CHAR(SYSTIMESTAMP - INTERVAL (:iStep) MINUTE,'DD-MM-YYYY HH24:MI:SS')
AND TO_CHAR(SYSTIMESTAMP,'DD-MM-YYYY HH24:MI:SS')
AND order_status = 'Active';
这是一个查询...此行中的INTERVAL (:iStep) MINUTE
显示错误
O / P:ORA-00907:缺少右括号 00907. 00000 - “缺少右括号” *原因:
*操作:
请你能给我当前的解决方案。?变量间隔iStep。