Skip to content

Commit

Permalink
Explain violation of G-1050
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippSalvisberg committed Aug 25, 2023
1 parent ea1e447 commit 9422bf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/4-language-usage/6-dynamic-sql/g-6010.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ Having the executed statement in a variable makes it easier to debug your code (
declare
l_next_val employees.employee_id%type;
begin
execute immediate 'select employees_seq.nextval from dual' into l_next_val;
execute immediate 'select employees_seq.nextval from dual' -- violates also G-1050
into l_next_val;
end;
/
```
Expand Down

0 comments on commit 9422bf8

Please sign in to comment.