Skip to content

Commit

Permalink
Fix violations of G-9030
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippSalvisberg committed Sep 1, 2023
1 parent db5611e commit 590579b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/4-language-usage/9-function-usage/g-9020.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ create or replace package body employee_api is
co_salary constant type_up.date_string := in_salary;
begin
update employees
set salary = to_number(co_salary) -- violates also G-9030
set salary = to_number(co_salary default null on conversion error)
where employee_id = co_employee_id;
end set_dob;
end employee_api;
Expand Down

0 comments on commit 590579b

Please sign in to comment.