Initial commit
This commit is contained in:
parent
890d4918cf
commit
136ccaad30
16
sql/MyFirstUDRKit.sql
Normal file
16
sql/MyFirstUDRKit.sql
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/*
|
||||||
|
* This demonstrates how to declare the UDRs globally
|
||||||
|
*/
|
||||||
|
|
||||||
|
create or alter function div (
|
||||||
|
anumerator integer, adenominator integer
|
||||||
|
)
|
||||||
|
returns double precision
|
||||||
|
external name 'udf_compat!UC_div!Divide anumerator by adenominator' engine udr;
|
||||||
|
|
||||||
|
create or alter function flagged (
|
||||||
|
flags integer, flag integer
|
||||||
|
)
|
||||||
|
returns integer
|
||||||
|
external name 'my_first_udr_kit!MFK_flagged!How is this function used?' engine udr;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user