PHP » GoLang |
login |
register |
about
|
db2_lob_read(PECL ibm_db2 >= 1.6.0) db2_lob_read — Gets a user defined size of LOB files with each invocation Description
string db2_lob_read
( resource
$stmt
, int $colnum
, int $length
)Use db2_lob_read() to iterate through a specified column of a result set and retrieve a user defined size of LOB data. Parameters
Return Values
Returns the amount of data the user specifies. Returns
Examples
Example #1 Iterating through different types of data
<?php The above example will output: Loop 0: THIS I Loop 1: S A CL Loop 2: OB TES Loop 3: T. THI Loop 4: S IS A Loop 5: CLOB Loop 6: TEST. Loop 0: THIS I Loop 1: S A BL Loop 2: OB TES Loop 3: T. THI Loop 4: S IS A Loop 5: BLOB Loop 6: TEST. See Also
|
more
Recently updated
more
Most requested
more
Last requests
|