i write follow instruction :
CURSOR DL (dt1 DATE,dt2 DATE) IS
select ipcrcard, dpcrsdt, dpcrfdt, ipcracc,
f.ccknname, h.cognsname,
case when cognsname is null then 'natural person' else cognsname end,ccusname,cncrhtp
from dfc, trm.....
but show error: "encountered symbol CASE, when expecting..."
Why?
CURSOR DL (dt1 DATE,dt2 DATE) IS
select ipcrcard, dpcrsdt, dpcrfdt, ipcracc,
f.ccknname, h.cognsname,
case when cognsname is null then 'natural person' else cognsname end,ccusname,cncrhtp
from dfc, trm.....
but show error: "encountered symbol CASE, when expecting..."
Why?