한국어 Login Register

Versions available for this page: CUBRID 8.4.0 |  CUBRID 8.4.1  | 

cubrid_lob_export

Description

The cubrid_lob_export() function is used to export BLOB/CLOB data to file.

Syntax

bool cubrid_lob_export(resource $conn_identifier, resource $lob_identifier, string $path_name )

  • conn_identifier : Connection identifier
  • lob_identifier : LOB identifier
  • path_name : Path name of file
Return Value
  • Success : TRUE
  • Failure : FALSE
Example

<?php

$lobs = cubrid_lob_get($con, "SELECT doc_content FROM doc WHERE doc_id=5");

cubrid_lob_export($conn, $lobs[0], "doc_5.txt");

cubrid_lob_close($lobs);

?>

See Also