SYNTAX_ERROR: line 12:49: '<=' cannot be applied to interval day to second, integer

0

The following shows the error above: abs(CAST(PZD.FILLED_CANCELLED_DATE AS INTEGER) - CAST(PZD.ORDER_DATE AS INTEGER) <= 9 ITEM 596 for my reference

demandé il y a 2 ans611 vues
1 réponse
0
Réponse acceptée

I think you're missing a closing parentheses. Try:

abs(CAST(PZD.FILLED_CANCELLED_DATE AS INTEGER) - CAST(PZD.ORDER_DATE AS INTEGER)) <= 9
AWS
Don_D
répondu il y a 2 ans
AWS
EXPERT
vérifié il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions