note 107644 deleted from function.oci-parse by danbrown

From: Date: Thu, 10 May 2012 20:26:00 +0000
Subject: note 107644 deleted from function.oci-parse by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-187804@lists.php.net to get a copy of this message
Note Submitter: sfuentealba at gmail dot com ---- Si alguien necesita ejecutar una función (FUNCTION) almacenada en oracle (no un SP) que tenga parámetros OUT, se realiza de la siguiente manera $sql="begin :result := MI_FUNCION (:out_salida);END;"; $stmt = oci_parse($conn, $sql); oci_bind_by_name($stmt, ":out_salida",$salida,128); oci_bind_by_name($stmt, "result", &$result); Espero le sirva a alguien... Saludos

« previous php.notes (#187804) next »