Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

convert a logic from SQL statement to java

adrinaNov 29 2011 — edited Nov 30 2011
Hi.,

I m using jdeveloper 11.1.1.5
I had used one sql statement as gievn below
(SELECT max(decode(LENGTH(fy_year),4, fy_year + 1,6,SUBSTR(fy_year, 1, 4)+1||SUBSTR(SUBSTR(fy_year, 1, 4) + 2, 3, 2)))YEAR from fin_years)
I need to use this logic in java

Could anyone pls help me
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 28 2011
Added on Nov 29 2011
5 comments
395 views