Advertisement
Guest User

Untitled

a guest
Jan 13th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CREATE OR REPLACE FUNCTION is_over_100(days_to_process NUMBER)
  2. RETURN BOOLEAN IS
  3. BEGIN
  4.     RETURN  days_to_process > 100;
  5.     /*
  6.      if the above doesn't work,
  7.      use this:
  8.      */
  9.    
  10.     IF days_to_process > 100 THEN
  11.         RETURN TRUE;
  12.     ELSE
  13.         RETURN FALSE;
  14.     END IF;    
  15.    
  16. END;
  17. /
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement