db2_lob_read

PECL ibm_db2 >= 1.6.0
db2_lob_read - Gets a user defined size of LOB files with each invocation
Manual
Code Examples

db2_lob_read( resource$stmt, int$colnum, int$length ): string

Use db2_lob_read to iterate through a specified column of a result set and retrieve a user defined size of LOB data.

Parameters

stmt

A valid stmt resource containing LOB data.

colnum

A valid column number in the result set of the stmt resource.

length

The size of the LOB data to be retrieved from the stmt resource.

Return Values

Returns the amount of data the user specifies. Returns false if the data cannot be retrieved.

Related Functions

Example of db2_lob_read

Show all examples for db2_lob_read

PHP Version: