Add SaveBlobToFile

This commit is contained in:
Paul Reeves 2023-01-26 16:40:56 +01:00
parent 2c9b46512b
commit 4106f934aa

View File

@ -14,14 +14,24 @@ create or alter function flagged (
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;
grant execute on function flagged to public;
-- create or alter 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;
-- grant execute on function LoadBlobFromFile to public;
create or alter function LoadBlobFromFile (
afilename varchar(8191),
ablob BLOB
) returns bigint
external name 'MyFirstUDRKit!MFK_LoadBlobFromFile!Load file and save to Blob'
engine udr;
grant execute on function LoadBlobFromFile to public;
create or alter function SaveBlobToFile (
afilename varchar(8191),
ablob BLOB
) returns bigint
external name 'MyFirstUDRKit!MFK_SaveBlobToFile!Save blob to file'
engine udr;
grant execute on function SaveBlobToFile to public;