Re: php odbc_exec problem

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Lorenz, Marcus wrote:
> i can't execute any statements using parameter bindings. If i include
> the parameters into the query directly i get the expected results. If i
> pass them to odbc_execute as an array i only get the following error:
>  
> odbc_mssql error: [00000: °     ±ÿÂ] in EXECUTE("select  top 1 * from
> master.Importstatus WHERE importer=? order by id desc")
>  
> The odbc_prepare() before returns a valid statement resource.
>  

I would be interested to see a TDSDUMP log of your session.  When
debugginhg ODBC problems, I often find it useful to direct both the OCBC
trace (usually level 3) and TDSDUMP to stderr. 

--jkl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.