ociwritelobtofile

(PHP 4 , PHP 5)

ociwritelobtofile -- Saves a large object file

Description

bool ociwritelobtofile ( [string filename [, int start [, int length]]])

Note: This function was renamed to oci_lob_export() after PHP >= 5.0.0. For downward compatibility ociwritelobtofile() can also be used. This is deprecated, however.

color="#007700">("scott", "tiger");
    
$sql  = "delete from emp where deptno = 10";
   
    
$stmt = OCIParse($conn, $sql);
    if (
OCIStatementType($stmt) == "DELETE") {
        die(
"You are not allowed to delete from this table<br />");
    }
   
    
OCILogoff($conn);
?>