Menu

#7 Parameters not parsed corretly (2)

open
nobody
None
5
2009-01-20
2009-01-20
No

In this case:

v_hold number := case when trunc(sysdate) < to_date('20080701', 'yyyymmdd') then 5 else 10 end;

The parser throws an exception

Last consumed token: "v_hold"
net.sourceforge.pldoc.parser.ParseException: Encountered "number := case" at line 18, column 26.

Inside a package this is a correct declaration but it can't be parsed with pldoc.

Please help!
Thanks!

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.