Skip to Content.
Sympa Menu

freetds - [freetds] SQLExecDirect() + SQLDataParam() + SQLPutData() fails

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Sebastien FLAESCH <sf AT 4js.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: [freetds] SQLExecDirect() + SQLDataParam() + SQLPutData() fails
  • Date: Fri, 29 Jun 2018 15:09:09 +0200

Hi all,

Just asking before sending a little code sample to reproduce:

Is there a know limitation regarding VARCHAR(MAX)/VARBINARY(MAX) parameters
and SQLExecDirect() + SQLParamData() + SQLPutData() ?

When using SQLPrepare() + SQLExecute() + SQLParamData() + SQLPutData(), I can
send Large Objects, but with SQLExecDirect(), I get the error:

[FreeTDS][SQL Server]Function sequence error

When doing the first SQLPutData() ...

Seb




Archive powered by MHonArc 2.6.24.

Top of Page