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

80酷酷网    80kuku.com

  oracle|数据$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中为大文本的具体内容。















分享到
  • 微信分享
  • 新浪微博
  • QQ好友
  • QQ空间
点击: