[PHP-DB] PDO and SAP HANA prepared statements issue

2016-01-26 Thread Alko Kotalko
Hi, I have a working connection from PHP to SAP HANA through PDO and regular ODBC commands. The issue is that through PDO I can not get any prepared statements to work. None of the notations (?, $, :) work. The response from the server (fetch) gets me empty field values for all selected columns a

Re: [PHP-DB] PDO and SAP HANA prepared statements issue

2016-01-26 Thread Alko Kotalko
is an associative array with empty values. If I fetch all, PHP runs out of memory but the arrays in array are the same, keys without values. On Tue, Jan 26, 2016 at 9:17 AM, Lester Caine wrote: > On 26/01/16 13:10, Alko Kotalko wrote: > > ODBC commands actually work with the ? and colon ($) nota

Re: [PHP-DB] PDO and SAP HANA prepared statements issue

2016-01-26 Thread Alko Kotalko
It shouldn't be like that because I'm preparing a statement, which would later have had parameters passed to. I'm not trying to concatenate a string. (Sorry, forgot to reply to all before) On Tue, Jan 26, 2016 at 8:18 AM, Karl DeSaulniers wrote: > On Jan 26, 2016, at 7:1

Re: [PHP-DB] PDO and SAP HANA prepared statements issue

2016-01-26 Thread Alko Kotalko
use either ? or $ notation. (Sorry, forgot to reply to all before) On Tue, Jan 26, 2016 at 9:01 AM, Jeff wrote: > Greetings, > > On 01/26/2016 08:18 AM, Karl DeSaulniers wrote: > > On Jan 26, 2016, at 7:10 AM, Alko Kotalko > wrote: > > > >> Hi, > >> >

Re: [PHP-DB] PDO and SAP HANA prepared statements issue

2016-01-27 Thread Alko Kotalko
ebugging PDO? If nothing else, using PDO would at least unify the database access accross my application and it does seem cleaner to use. On Tue, Jan 26, 2016 at 3:50 PM, Lester Caine wrote: > On 26/01/16 19:06, Alko Kotalko wrote: > > I've tried all the notations with PDO as well