FCLT#73169 RAISE_APPLICATION_ERROR met volledige tekst moet ORA-20001 zijn, niet 20000
svn path=/Database/trunk/; revision=56410
This commit is contained in:
@@ -69,7 +69,7 @@ AS
|
||||
DBMS_OUTPUT.put_line ('Not found, no need to drop: ' || n);
|
||||
NULL;
|
||||
ELSE
|
||||
raise_application_error (-20001, 'Error trying to DROP ' || n || ': ' || SQLERRM);
|
||||
raise_application_error(-20001, 'Error trying to DROP ' || n || ': ' || SQLERRM);
|
||||
END IF;
|
||||
END;
|
||||
|
||||
@@ -97,7 +97,7 @@ AS
|
||||
DBMS_OUTPUT.put_line ('Already exists, not altered: ' || n);
|
||||
NULL;
|
||||
ELSE
|
||||
raise_application_error (-20001, 'Error trying to ALTER ' || n || ': ' || SQLERRM);
|
||||
raise_application_error(-20001, 'Error trying to ALTER ' || n || ': ' || SQLERRM);
|
||||
END IF;
|
||||
END;
|
||||
|
||||
@@ -196,7 +196,7 @@ AS
|
||||
|| 'Wrong user!!!!!!!!!' || CHR(10)
|
||||
|| tekst || CHR(10)
|
||||
|| '============================================' || CHR(10);
|
||||
RAISE_APPLICATION_ERROR(-20000, tekst);
|
||||
raise_application_error(-20001, tekst);
|
||||
END IF;
|
||||
|
||||
RETURN tekst;
|
||||
|
||||
Reference in New Issue
Block a user