cubrid_lob_size
Get BLOB/CLOB data size
説明
string cubrid_lob_size(resource $lob_identifier
)
パラメータ
-
lob_identifier
-
LOB identifier.
戻り値
A string representing LOB data size, when process is successful,失敗した場合に false
を返します.
例
例1 cubrid_lob_size example
<?php
$lobs = cubrid_lob_get($con, "SELECT doc_content FROM doc WHERE doc_id=5");
echo "Doc size:".cubrid_lob_size($lobs[0]);
cubrid_lob_export($conn, $lobs[0], "doc_5.txt");
cubrid_lob_close($lobs);
?>
参考
- cubrid_lob_get
- cubrid_lob_close
- cubrid_lob_export
- cubrid_lob_send