diff --git a/docs/4-language-usage/6-dynamic-sql/g-6010.md b/docs/4-language-usage/6-dynamic-sql/g-6010.md index 9d28d280..bfe57ffb 100644 --- a/docs/4-language-usage/6-dynamic-sql/g-6010.md +++ b/docs/4-language-usage/6-dynamic-sql/g-6010.md @@ -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; / ```