Getting error... "Token EXISTS was not valid...." on case statement...
,case when g.GFGSTS = '2'
and not exists
(select a.GFTSEQ
from GFTP010 a
where a.GFCSQ# = g.GFCSQ#
and a.GFGSTS = '3' )
then count(*) end as Void#
Software/Hardware used:
ASKED:
January 17, 2008 3:11 PM
UPDATED:
January 17, 2008 5:04 PM