The fields of the IfxDocDesc row data type
The IfxDocDesc row data type has four fields: format, version, location, and params.
The format field
This field is used to store
format information for the text document. The field is not used by
the DataBlade® module,
so you can enter any text you want, including NULL
.
You can use this field for record keeping, for example.
An example
of a value for this field is MS
Word
for
a Microsoft™ Word document.
The version field
This field is used to
store version information for the text document, based on the information
in its format field. The field is not used by the DataBlade module,
so you can enter any text you want, including NULL
.
You can use this field for record keeping, for example.
An example
of a value for this field is 7.0
, which indicates
the version of Microsoft Word
used to create the document.
The location field
CREATE ROW TYPE LLD_Locator
(
lo_protocol CHAR(18),
lo_pointer LLD_Lob,
lo_location LVARCHAR
);
LLD_Locator is defined in the HCL® OneDB® Large Object Locator DataBlade Module, one of the DataBlade modules required by the .
Use the three fields of LLD_Locator to specify the location of your text document, either in the database itself or a file on the operating system file system.
Field | Description |
---|---|
lo_protocol | Identifies the type of the large object. |
lo_pointer | Points to a smart large object, or NULL if
anything other than a smart large object. |
lo_location | Points to the large object, if not a smart large
object. Set to NULL if it is a smart large object. |
lo_protocol | lo_pointer | lo_location | Description |
---|---|---|---|
IFX_BLOB | Smart large object pointer (LLD_Lob) | NULL | Smart large object that might contain binary data |
IFX_CLOB | Smart large object pointer (LLD_Lob) | NULL | Smart large object that only contains character data |
IFX_FILE | NULL | Full file path name | Operating system file on the database server machine |
For a complete description of the LLD_Locator and LLD_Lob data types, see the HCL OneDB Database Extensions User's Guide.
The params field
NULL
. NULL
into any of the
fields of an IfxDocDesc column, you must explicitly cast it to its
data type in the INSERT statement. The same is true for UPDATE statements
that update the value to NULL
. This is true for all
fields of all row types in HCL OneDB, Version
9.x.