I have written a function to update item table if item expired.But it is not working and getting compiled successfully.
create or replace FUNCTION DEMO_ITEM_EXPIR