Skip to content

Commit

Permalink
fix typo in good example of G-4387
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippSalvisberg committed Mar 18, 2024
1 parent 1406889 commit 639ea44
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

!!! missing "Unsupported in db\* CODECOP Validators"
Without access to the Oracle Data Dictionary, we cannot determine the number of rows to be processed.

## Reason

A `for loop` can hide a `too_many_rows` exception. The more complex a query is, the higher is the risk that more than one row will be processed.
Expand Down Expand Up @@ -45,7 +45,7 @@ create or replace package body employee_api is
select ename
into l_ename
from emp
where empno >= in_empno;
where empno = in_empno;
return l_ename;
exception
when no_data_found then
Expand Down

0 comments on commit 639ea44

Please sign in to comment.