This commit is contained in:
Paul Reeves 2023-01-23 15:31:22 +01:00
parent 0c9620f8d2
commit 890d4918cf
1 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
/*
* This demonstrates how to declare the IDRs as part of a package
*/
set term ^;
create or alter package my_first_udr_kit
@ -29,13 +32,13 @@ begin
anumerator integer, adenominator integer
)
returns double precision
external name 'udf_compat!UC_div!Divide param1 by param2' engine udr;
external name 'udf_compat!UC_div!Divide anumerator by adenominator' engine udr;
function flagged (
flags integer, flag integer
)
returns integer
external name 'my_first_udr_kit!MFK_flagged!What is this function intended for?' engine udr;
external name 'my_first_udr_kit!MFK_flagged!How is this function used?' engine udr;
end ^