I think the best option would be to alter your APP_ID column to make it an IDENTITY, generated by default. Barring that, you could also try something like this:
Code:
insert into sys_app (app_id, year, ts)
select m+s, '2010', current_timestamp from (
select max(app_id) over() m, row_number() over() s
from sys_app
where year='2009'
) t