also trydrop for nonexistent triggers
svn path=/Database/trunk/; revision=11172
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* $Revision: 2 $
|
||||
* $Modtime: 22-02-12 14:20 $
|
||||
/* $Revision: 3 $
|
||||
* $Modtime: 27-03-12 16:29 $
|
||||
*/
|
||||
|
||||
CREATE OR REPLACE PACKAGE adm
|
||||
@@ -61,9 +61,9 @@ AS
|
||||
EXCEPTION
|
||||
WHEN OTHERS
|
||||
THEN
|
||||
IF SQLCODE IN (-942, -1418, -2289, -4043)
|
||||
IF SQLCODE IN (-942, -1418, -2289, -4043, -4080)
|
||||
THEN
|
||||
-- did not exist, voor table, view, index, sequence en object
|
||||
-- did not exist, voor table, view, index, sequence, object and trigger
|
||||
NULL;
|
||||
ELSE
|
||||
raise_application_error (-20001, 'Error trying to DROP ' || n || ': ' || SQLERRM);
|
||||
@@ -73,4 +73,4 @@ AS
|
||||
END adm;
|
||||
/
|
||||
|
||||
REGISTERRUN('$Workfile: ADM_PAC.SRC $','$Revision: 2 $')
|
||||
REGISTERRUN('$Workfile: ADM_PAC.SRC $','$Revision: 3 $')
|
||||
|
||||
Reference in New Issue
Block a user