Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.
SalBoolean DbLobRead(SalSqlHandle hSql,
SalString sColumnName,
SalString sView,
SalString sObjid,
ref SalString sLOBData)
The DbLobRead method reads a LOB (CLOB/BLOB) from the database, defined in a view.
Name | Description |
---|---|
SalSqlHandle hSql | Handle that identifies the database connection |
SalString sColumnName | Name of the SQL column that is the LOB object. |
SalString sView | View where the LOB column is located. |
SalString sObjid | OBJID to the record the LOB should be read from. |
ref SalString sLOBData | If the operation succeeded, this will return the LOB data. |
TRUE if the operation succeeded, FALSE otherwise.
Details and examples on the table/view definitions can be found in the Large Objects section in Development Guide for IFS/Base Server.
Set bOK = DbLobRead( c_hSql, 'TEXT', 'LOB', DataRecordIdGet( ), sLOBData )