Add SaveBlobToFile
This commit is contained in:
parent
2c9b46512b
commit
4106f934aa
@ -14,14 +14,24 @@ create or alter function flagged (
|
|||||||
flags integer, flag integer
|
flags integer, flag integer
|
||||||
)
|
)
|
||||||
returns 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;
|
grant execute on function flagged to public;
|
||||||
|
|
||||||
|
|
||||||
-- create or alter function LoadBlobFromFile (
|
create or alter function LoadBlobFromFile (
|
||||||
-- afilename varchar(8191),
|
afilename varchar(8191),
|
||||||
-- ablob BLOB
|
ablob BLOB
|
||||||
-- ) returns bigint
|
) returns bigint
|
||||||
-- external name 'MyFirstUDRKit!MFK_Load_Blob_From_File!Load file and save to Blob'
|
external name 'MyFirstUDRKit!MFK_LoadBlobFromFile!Load file and save to Blob'
|
||||||
-- engine udr;
|
engine udr;
|
||||||
-- grant execute on function LoadBlobFromFile to public;
|
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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user