BIP2587
Severity
20 : Error
Message
Invalid interval qualifier for date subtraction, subtracting <insert_2> from <insert_1> with qualifier <insert_3>.
Explanation
When giving an interval qualifier for the precision of a date subtraction, the qualifier must not contain any of the fields HOUR, MINUTE or SECOND.
Response
Correct the logic of the SQL program redeploy the message flow.