I was trying to enter the following sql, and i keep getting the error 'Missing Right Parenthesis'
---------------------------------------------
SELECT
IF (ZEUS.SPEC_ORD.SPEC_ORD_STAT = 'EEA' )
THEN (ZEUS.SPEC_ORD.SPEC_ORD_STAT_CRBD - ZEUS.SPEC_ORD_STAT_HIST.STAT_CHANG_DATE)
ELSE NULL END
FROM
ZEUS.SPEC_ORD,
ZEUS.SPEC_ORD_STAT_HIST
WHERE
( ZEUS.SPEC_ORD.SPEC_ORD_NUMB = ZEUS.SPEC_ORD_STAT_HIST.SPEC_ORD_NUMB )
-----------------------------------------------
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.