I am trying to fetch data from PDOStatement with insert... into... or stored 
procedure (without suspend clause) in PHP using PHP data objects (PDO) with 
Firebird. And I am getting the error:
 SQLSTATE[HY000]: General error: -502 Cursor is not open Is is possible to 
execute insert... into... and fetch result at all with Firebird?

I have filed more extensive question on Stackoverflow:
Use of PHP PDO with Firebird INSERT... RETURNING / STORED PROCEDURE without 
SUSPEND 
http://stackoverflow.com/questions/39448052/use-of-php-pdo-with-firebird-insert-returning-stored-procedure-without-susp
 
 
 
http://stackoverflow.com/questions/39448052/use-of-php-pdo-with-firebird-insert-returning-stored-procedure-without-susp
 
 
 Use of PHP PDO with Firebird INSERT... RETURNING / ... 
http://stackoverflow.com/questions/39448052/use-of-php-pdo-with-firebird-insert-returning-stored-procedure-without-susp
 I have PHP code that executes PDOStatement and tries to fetch the returned 
data: $this->pdoStatement->execute(); $this-&g...
 
 
 
 View on stackoverflow.com 
http://stackoverflow.com/questions/39448052/use-of-php-pdo-with-firebird-insert-returning-stored-procedure-without-susp
 
 Preview by Yahoo 
 
 
  

 

Reply via email to