Google
Web dns.bdat.net

Re: [PHP-ES] [PHP_ES]Ayuda con Procedimientos Oracle desde PHP

Write haof XML files: Denyl Meneses Guillén ( dmeneses@olva.com.pe)
Fecha: jue 04 ago 2005 - 20:46:13 CEST


De esta manera lo realizo

$stmt = OCIParse($db, " begin usp_mov_remitos('$as_in_emision','$as_remito',
'$as_in_desde', '$as_in_hasta', :as_out_flg, :as_out_fecha,:as_out_select );
end; ");
// recojes los valores de salida
 ocibindbyname($stmt,":as_out_flg",$as_out_flg,2);
 ocibindbyname($stmt,":as_fecha",$as_out_fecha,10);
 ocibindbyname($stmt,":as_out_select",$as_out_select,3000);
 OCIExecute($stmt);
 ocifreeStatement($stmt);

$query = "$as_out_select"; // este select me lo da el USP
$stmt = ociparse($conn, "$query");
 ociexecute($stmt);
------------
Suerte , Saludos .

----- Original Message -----
From: "Wiliis Moya" < wiliismoya@yahoo.com.br>
To: < php-es@lists.php.net>
Sent: Thursday, August 04, 2005 8:48 AM
Subject: [PHP-ES] [PHP_ES]Ayuda con Procedimientos Oracle desde PHP

> Hola, necesito ejecutar unos procedimientos almacenados en PHP.
> He encontrado algunos ejemplos pero no me han sido suficientes, si alguien
tiene informacion, algun tutorial o cualquier ejemplo de como hacerlo, les
agradecere me proporcionen esa información.
>
> Saludos
>
>
> ---------------------------------
> Yahoo! Acesso Grátis: Internet rápida e grátis. Instale o discador agora!

----------------------------------------------------------------------------

----
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 03/08/2005
-- 
PHP Spanish Localization Talk Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Este archivo fue generado por hypermail 2.1.7 : sáb 18 mar 2006 - 18:23:48 CET