Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
221 vnguyen 1
CREATE PROCEDURE "RELEASE_MANAGER"."CLEAN_DO_NOT_RIPPLE" (nrtagid IN NUMBER)
2
IS
3
/******************************************************************************
4
   NAME:       DELETE_DO_NOT_RIPPLE
5
   PURPOSE:    TO DELETE ENTRIES FROM THE DO_NOT_RIPPLE TABLE WHEN A PACKAGE
6
               IS RELEASED
7
 
8
   REVISIONS:
9
   Ver        Date        Author           Description
10
   ---------  ----------  ---------------  ------------------------------------
11
   1.0        21/04/2006  Rupesh Solanki     1. Created this procedure.
12
 
13
   NOTES:
14
 
15
   Automatically available Auto Replace Keywords:
16
      Object Name:     DELETE_DO_NOT_RIPPLE
17
      Sysdate:         21/04/2006
18
      Date and Time:   21/04/2006, 3:21:55 PM, and 21/04/2006 3:21:55 PM
19
      Username:         (set in TOAD Options, Procedure Editor)
20
      Table Name:       (set in the "New PL/SQL Object" dialog)
21
 
22
******************************************************************************/
23
BEGIN
24
   DELETE FROM do_not_ripple
25
         WHERE rtag_id = nrtagid AND pv_id NOT IN (SELECT pv_id
26
                                                     FROM release_content
27
                                                    WHERE rtag_id = nrtagid);
28
END clean_do_not_ripple;
29
/