📄 function.oci-lob-erase.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Erases a specified portion of the internal LOB data</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.oci-lob-eof.html">OCI-Lob->eof</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.oci-lob-export.html">OCI-Lob->export</a></div> <div class="up"><a href="ref.oci8.html">OCI8 Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.oci-lob-erase" class="refentry"> <div class="refnamediv"> <h1 class="refname">OCI-Lob->erase</h1> <p class="verinfo">(No version information available, might be only in CVS)</p><p class="refpurpose"><span class="refname">OCI-Lob->erase</span> — <span class="dc-title">Erases a specified portion of the internal LOB data</span></p> </div> <div class="refsect1 description"> <h3 class="title">Description</h3> <div class="classsynopsis"> <div class="ooclass"><b class="classname">OCI-Lob</b></div> <div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><b><b>erase</b></b></span> ([ <span class="methodparam"><span class="type">int</span> <tt class="parameter">$offset</tt></span> [, <span class="methodparam"><span class="type">int</span> <tt class="parameter">$length</tt></span> ]] )</div> </div> <p class="para"> Erases a specified portion of the internal LOB data starting at a specified <i><tt class="parameter">offset</tt></i>. If called without parameters, it erases all LOB data. </p> <p class="para"> For BLOBs, erasing means that the existing LOB value is overwritten with zero-bytes. For CLOBs, the existing LOB value is overwritten with spaces. </p> </div> <div class="refsect1 parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><i><tt class="parameter">offset</tt></i></span> <dd> <p class="para"> </p> </dd> </dt> <dt> <span class="term"><i><tt class="parameter">length</tt></i></span> <dd> <p class="para"> </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns the actual number of characters/bytes erased or <b><tt>FALSE</tt></b> in case of error. </p> </div> <div class="refsect1 seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"><a href="function.oci-lob-truncate.html" class="xref">OCI-Lob->truncate</a></li> </ul> </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.oci-lob-eof.html">OCI-Lob->eof</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.oci-lob-export.html">OCI-Lob->export</a></div> <div class="up"><a href="ref.oci8.html">OCI8 Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -