executer Procedure Stockée
Bonjour,
j'ai une procedure stockée sous oracle 10g j'utilise la doctrine de symfony et j'aimerais l'executer .
comment faire un appel de cette proc j'ai essaye
Code:
1 2 3 4 5 6
| public static function getDuplication($anneecamp){
$q = "CALL Dup_eng($anneecamp);";
return Doctrine_Manager::getInstance()->connection()->execute($q);
} |
Code:
1 2 3 4 5 6
| function getDuplication($anneecamp){
$q = "begin Dup_eng($anneecamp); end;";
return Doctrine_Manager::getInstance()->connection()->execute($q);
} |
mais pas de resultat ,pouvez vous m'aider svp
Cordialement