Hi Stefan,
we've been using this for quite some time now and it works fine. We haven't noticed any performance problems. The only thing which is a bit annoying is the fact that you're not able to define a table which contains a (S)BLOB-datatype with the "record like" statement. The handling of this datatyes is a bit trickier as with "normal" datatypes.
Basically for reading BLOBs we use this kind of code:
define l_filename varchar(254)
select lotofile(table.data, l_filename || "!", "client")
from table
this one's fo insert
insert into table (data) values (filetoblob(l_filename, "client")
and this for update
update table set data = filetoblob(l_filename, "client")
after getting the BLOB from the table you can just use a
display by name l_filename
to a FFImage-Widget to show the contents of a PDF or JPEG-image.
For further documentation how to handle BLOBs in SQL see here:
https://www.ibm.com/support/knowledgecenter/SSGU8G_12.1.0/com.ibm.sqls.doc/ids_sqs_1526.htm.
Please contact me if you still need more help or sample code snippets.
Regards
Roland