Skip to content

Commit 1aef52a

Browse files
committed
small refactor on sql code
1 parent e31a2c3 commit 1aef52a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/errtoevent.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ begin
1414
for t in c_table loop
1515
result := t.c;
1616
if result<2 then
17-
event_rmsg := f_eventtoddog('sample event','sample: error counting sysdate, expected 2 or more','sample');
1817
RAISE errorsysdate;
1918
end if;
2019
end loop;
2120
EXCEPTION
2221
WHEN errorsysdate THEN
22+
event_rmsg := f_eventtoddog('sample event','sample: error counting sysdate, expected 2 or more','sample');
2323
raise_application_error(-20101, 'error counting from sysdate, event to ddog:' || event_rmsg);
2424
WHEN OTHERS THEN
2525
err_num := SQLCODE;

0 commit comments

Comments
 (0)