Skip to content
This repository was archived by the owner on Feb 2, 2026. It is now read-only.

Commit 0533dd8

Browse files
Fix violations of G-3150
1 parent 819aa48 commit 0533dd8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • docs/4-language-usage/7-stored-objects/7-triggers

docs/4-language-usage/7-stored-objects/7-triggers/g-7740.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ This locking of child tables behaviour goes for simple DML triggers as well as c
1616

1717
``` sql
1818
create or replace trigger dept_br_iu
19-
before insert or update
19+
before insert or update -- NOSONAR: G-7730
2020
on departments for each row
2121
begin
2222
if inserting then
23-
:new.department_id := department_seq.nextval;
23+
:new.department_id := department_seq.nextval; -- NOSONAR: G-3150
2424
:new.created_date := sysdate;
2525
end if;
2626
if updating then
@@ -37,7 +37,7 @@ create or replace trigger dept_br_i
3737
before insert
3838
on departments for each row
3939
begin
40-
:new.department_id := department_seq.nextval;
40+
:new.department_id := department_seq.nextval; -- NOSONAR: G-3150
4141
:new.created_date := sysdate;
4242
end;
4343
/

0 commit comments

Comments
 (0)