Welcome Guest, Not a member yet? Register   Sign In
Connect to SAP HANA using ODBC Driver
#3

(06-21-2016, 07:27 AM)Alphen Wrote: Have you tried to change ODBC driver configuration and set the cursor type to a forward only cursor ?

Got it working by changing the odbc_driver.php file

public function db_connect($persistent = FALSE)
    {
        return ($persistent === TRUE)
            ? odbc_pconnect($this->dsn, $this->username, $this->password, SQL_CUR_USE_ODBC)
            : odbc_connect($this->dsn, $this->username, $this->password, SQL_CUR_USE_ODBC);
    }


Thanks Bro, Great help!
Reply


Messages In This Thread
RE: Connect to SAP HANA using ODBC Driver - by Lee_Code - 06-21-2016, 05:41 PM



Theme © iAndrew 2016 - Forum software by © MyBB