iODBC & PHP4 (odbc_exec problem)

admin

Administrator
Staff member
Hello!

I'm using PHP4+PostgreSQl via iODBC driver

The following code:
==========================================
$sql = "select * from tableName";
$result_id = odbc_exec($this->mConn, $sql);
==========================================
fails with:

Warning: SQL error: Requested value changed., SQL state 01S02 in SQLExecDirect in #here comes path of the script#

At the same time
odbc_prepare() with odbc_execute() work correct.

Please, tell me where is the BUG?

Thank you,
Vladimir Shapiro
 
Back
Top