misc doc notes

This commit is contained in:
Paul Reeves 2023-01-26 16:41:07 +01:00
parent 4106f934aa
commit 07087aa9c5

View File

@ -1,10 +1,12 @@
/*
* This demonstrates how to declare the IDRs as part of a package
* This demonstrates how to declare the UDRs as part of a package
*
* ########### INCOMPLETE ###################
*/
set term ^;
create or alter package MyFirstUDRKit
-- optional - declare sql security as DEFINER to give access rights of owner to all users
-- -- optional - declare sql security as DEFINER to give access rights of owner to all users
-- sql security definer
as
begin
@ -20,11 +22,6 @@ begin
)
returns integer;
-- function LoadBlobFromFile (
-- afilename varchar(8191),
-- ablob BLOB
-- )
-- returns bigint;
end ^
@ -43,15 +40,9 @@ begin
flags integer, flag integer
)
returns integer
external name 'MyFirstUDRKit!MFK_flagged!How is this function used?' engine udr;
external name 'MyFirstUDRKit!MFK_flagged!Check if flag is set in flags. flag is zero-based.' engine udr;
-- function LoadBlobFromFile (
-- afilename varchar(8191),
-- ablob BLOB
-- )
-- returns bigint
-- external name 'MyFirstUDRKit!MFK_Load_Blob_From_File!Load file and save to Blob' engine udr;