Hello,

sorry i don´t found the entry on the propel trac website but you can use

// start new prepare call
$stmt = $con->prepareCall('sp_name');

// set the input parameter
$stmt->setInt("@parameter", $param1);
$stmt->setFloat("@parameter", param2);

// for other (non-input) variables, you
// use a registerOutParameter() method.  This method
// does not apply to input variables (above)
$stmt->registerOutParameter("@output", CreoleTypes :: DECIMAL);

// get the returned results
$result = $stmt->executeQuery(ResultSet :: FETCHMODE_NUM);

I hope it helps.

Greetings
Gordon


Von: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von 
Muhammad Asif Ali
Gesendet: Mittwoch, 25. April 2007 12:24
An: symfony-users
Betreff: [symfony-users] Stored procedures with Propel

Hi all,
                 Is there any way to use the stored procedure in the symfony 
project using the Propel as the ORM
 
Thank you :o)
 
 
Regards
Muhammad Asif Ali



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to