Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
vinodhalk authored Apr 30, 2018
1 parent 8770cc9 commit 261f286
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions sp.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
create or replace
PROCEDURE "ADS_AP_GET_AWARD_NUMBER"
(l_award_id IN VARCHAR2, my_award_number OUT VARCHAR2)
IS
BEGIN
SELECT award_number
INTO my_award_number
FROM gms_awards_all gaa
WHERE gaa.AWARD_ID = l_award_id;
EXCEPTION
WHEN others THEN
my_award_number := '6001';
END;

0 comments on commit 261f286

Please sign in to comment.