File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed
2-case-if-decode-nvl-nvl2-coalesce Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ select case
5454 when dummy = ' Y' then
5555 2
5656 when dummy is null then
57- - 1
57+ - 1
5858 else
5959 0
6060 end
Original file line number Diff line number Diff line change @@ -40,8 +40,7 @@ create or replace package body my_package is
4040 end loop check_pw_char;
4141 end loop check_digit;
4242
43- << check_other_things>>
44- null ;
43+ << check_other_things>> null ;
4544
4645 if not l_isdigit then
4746 raise_application_error(co_errno,co_errmsg);
@@ -80,8 +79,7 @@ create or replace package body my_package is
8079 end loop check_pw_char;
8180 end loop check_digit;
8281
83- << check_other_things>>
84- null ;
82+ << check_other_things>> null ;
8583
8684 if not l_isdigit then
8785 raise_application_error(co_errno,co_errmsg);
@@ -98,7 +96,7 @@ create or replace package body my_package is
9896 procedure password_check(in_password in varchar2 ) is
9997 co_digitpattern constant string(10 char ) := ' \d ' ;
10098 co_errno constant simple_integer := - 20501 ;
101- co_errmsg constant string(100 char ) := ' Password must contain a digit.' ;
99+ co_errmsg constant string(100 char ) := ' Password must contain a digit.' ;
102100 begin
103101 if not regexp_like(in_password,co_digitpattern) then
104102 raise_application_error(co_errno,co_errmsg);
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ exception
1919 when too_many_rows then
2020 my_package .some_further_processing ();
2121 when others then
22- if sqlcode = co_no_data_found then
22+ if sqlcode = co_no_data_found then
2323 null ;
2424 end if;
2525end;
You can’t perform that action at this time.
0 commit comments