Skip to Content.
Sympa Menu

freetds - Re: [freetds] Dynamic SQL Placeholders

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT schemamania.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Dynamic SQL Placeholders
  • Date: Wed, 24 Nov 2004 01:33:23 -0500

"Spadea, David" <DBSpadea AT citco.com> wrote:
> I am running a FreeTDS-linked DBD::Sybase against a Sybase 12.5.3
> database. When I try to use a prepared statement using placeholders
> ("?"), I receive the following error:
>
> Panic: dynamic SQL (? Placeholders) are not supported by the server you
> are connecting to at ...
>
> The SQL was a simple insert into a temp table...
>
> insert into #blarg (test) values (?)
...
> if you can provide any
> insight or let me know what type of additional information I should
> provide, I'd appreciate it.

I'm sorry to tell you that placeholder support for DBD::Sybase isn't
functional. It's actually noted in TODO. :-(

You might have more luck with the ODBC driver.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page