Example: lrd_ora8_lob_write and lrd_ora8_lob_create_temporaryOracle 8.0 Functions

Writes characters to a large object descriptor.

LRDRET lrd_ora8_lob_write( void * mpvLRDDBIHandleSvcCtx, void * mpvLRDDBIHandleLob, unsigned long mjAmtToWrite, unsigned long * mpjAmtWritten, unsigned long mjOffset, char * mpszBuf, unsigned long mjBufl, unsigned char mPiece, unsigned short mjCsid, unsigned char mjCsfrm, int miDBErrorSeverity );

mpvLRDDBIHandleSvcCtx A pointer to an LRDDBI Service Context Handle with a valid Server Handle attribute.
mpvLRDDBIHandleLob A pointer to an LRDDBI Lob Descriptor Handle.
mjAmtToWrite The number of bytes to write
mpjAmtWritten Pointer to the number of bytes written on output.
mjOffset The offset for start of write.
mpszBuf Buffer to be written.
mjBufl The buffer length.
mjPiece Piece.
mjCsid The character set ID.
mjCsfrm The character set form.
miDBErrorSeverity The Error Severity Levels of a failure in a database routine.

The lrd_ora8_lob_write function writes characters to a large object descriptor (LOB).

Return Values

See LRD Return Values.


The mpszBuf argument can be parameterized using standard parameterization.