Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/4-language-usage/3-dml-and-sql/1-general/g-3145.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Exceptions to the rule can be when querying an inline view (where the SELECT \*

``` sql
begin
<<raise_salary>>
for r_employee in (
select *
from employees
Expand All @@ -23,7 +24,7 @@ begin
,salary_in => r_employee.salary
,hiredate_in => r_employee.hiredate
);
end loop;
end loop raise_salary;
end;
/
```
Expand All @@ -32,6 +33,7 @@ end;

``` sql
begin
<<raise_salary>>
for r_employee in (
select id,salary,hiredate
from employees
Expand All @@ -42,7 +44,7 @@ begin
,salary_in => r_employee.salary
,hiredate_in => r_employee.hiredate
);
end loop;
end loop raise_salary;
end;
/
```