Re: blob questions
Posted in 1993
I have had several uses for blobs. It all depends on how they are produced. Let's say that you have a desire to store data that was produced by some other software. You need to define a table containing a blob that will hold the data. This works just like in the examples in the manuals in that the blob can be stored in the tablespace or a blobspace. You need to include in the table definition some "header" data so that you can do look-ups and relocate a stored blob. Informix will have no knowlege of what the blob is or how it was made. If you use Informix to call a program to create it then you can write the calling program into the header. When recalling a blob, LOCATE a tempvar of the blobs type in a file vs memory. Then you can relaunch the blob-creating program on the blob stored a filesystem file.