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