Skip to Content.
Sympa Menu

freetds - Re: [freetds] php odbc_exec problem

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] php odbc_exec problem
  • Date: Thu, 22 Jan 2009 21:39:55 -0500

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




Archive powered by MHonArc 2.6.24.

Top of Page