Mantis - Quercus
Viewing Issue Advanced Details
2063 minor always 10-11-07 14:49 05-30-08 16:25
nam  
ferg  
normal  
closed 3.1.3  
fixed  
none    
none 3.2.0  
0002063: SQL Server stored procedures does not work with PDO
(rep by E. Moraga)

The following stored procedure call does not work:

<?

//$num = 23456;
$sQuery = 'CALL pa_bprueba(349176)';
$oStm = $pdo->prepare($sQuery);
// $oStm = $pdo->bindParam(1,$num);
$oStm->execute();

echo '';
while (($row = $oStm->fetch(PDO::FETCH_OBJ))) {
echo "$row->tp_sol";
}

echo '';
?>

Notes
(0003127)
ferg   
05-30-08 16:25   
php/1s1c