一个php处理oracle的 long型数据的简单例子


$sqlA="update table_name set content=:CONTENT where newsid=''$NewsID''";
$conn = OCILogon("scott", "tiger");
$conn = OCIParse($conn,$sqlA);

OCIBindByName($conn, '':CONTENT'', &$ContentTmp,-1);
OCIExecute($conn);
其中:$ContentTmp中为大文本的具体内容。
Copyright © 2008 chengduxinxi.com All Rights Reserved PHP编程开发 由朝夕网络维护