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

Commit d722cd2

Browse files
Fix violations of G-7460
1 parent d24bd91 commit d722cd2

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

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

docs/4-language-usage/7-stored-objects/4-functions/g-7440.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ A function should return all its data through the `return` clause. Having an `ou
1111

1212
``` sql
1313
create or replace package body my_package is
14-
function my_function(out_date out date) return boolean is
14+
function my_function(out_date out date) return boolean
15+
deterministic
16+
is
1517
begin
1618
out_date := sysdate;
1719
return true;
@@ -24,7 +26,9 @@ end my_package;
2426

2527
``` sql
2628
create or replace package body my_package is
27-
function my_function return date is
29+
function my_function return date
30+
deterministic
31+
is
2832
begin
2933
return sysdate;
3034
end my_function;

0 commit comments

Comments
 (0)