|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-05-11 21:42 UTC] sniper@php.net
[2002-01-11 16:48 UTC] lobbin@php.net
[2002-02-02 06:40 UTC] sander@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 11:00:01 2025 UTC |
<?php $db = @ocilogon("scott", "tiger", "ZTST"); $statement = ociparse($db, "CREATE TABLE foo (blob_field BLOB)"); ociexecute($statement); $query = "INSERT INTO foo (blob_field) " . "VALUES (EMPTY_BLOB()) " . "RETURNING blob_field into :blob"; $statement = ociparse($db, $query); ocibindbyname($statement, ':blob', &$undefined, -1, OCI_B_BLOB); $result = ociexecute($statement); ?>